Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EUSM: Users unassigned from active missions #1325

Open
AnnieMungai opened this issue Feb 1, 2024 · 2 comments
Open

EUSM: Users unassigned from active missions #1325

AnnieMungai opened this issue Feb 1, 2024 · 2 comments
Assignees
Labels
Bug Report Something isn't working EUSM OpenSRP 1.0

Comments

@AnnieMungai
Copy link
Collaborator

Currently users are assigned to missions that have expiry dates. When a mission expires, the users are assigned from the mission and its status changes from active to completed.

Bug
Currently, on production, users seem to be unassigned from missions that have expiry dates of 1st and 2nd February even though the mission is still active. - see the screenshot of the active missions:
image

See a mission that is still active and the team has been unassigned.
image

Ask

  • Investigate why this is happening.
    Question: Is there a way to know whether someone unassigned the teams and it's not a system error?
@dubdabasoduba dubdabasoduba added the Bug Report Something isn't working label Feb 1, 2024
@peterMuriuki
Copy link
Collaborator

@AnnieMungai from web; we cannot tell if this was due to a user action or due to a system error, on the server side we could maybe check api logs and see if there was a request made that could have affected the assignments for the above plan 6b6ab6c9-7ad7-59d7-80e2-893e1c2058cc.

Peculiarly when I checked assignments done for the plan, I noticed, the to_date is set to 2024-02-01 but the duration end date is a day after [2024-01-23,2024-02-02).

This explains why the assignments do not show up since the to_date is <= to today. If server side thinks that duration and to_date can differ as shown above, it might imply that the team assignment were revoked from fhir-web, or any other http client like postman.

@hilpitome
Copy link

We had a similar problem in WHO-ANC Indonesia due a difference in the linux server timezone and that of the postgres database. I have checked these timezones and they are the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working EUSM OpenSRP 1.0
Projects
None yet
Development

No branches or pull requests

4 participants