-
Notifications
You must be signed in to change notification settings - Fork 22
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
Team assignments for active plans getting revoked #1069
Comments
Running a query to check for number of active plans with revoked team assignments returns 51 results
|
Related to #1007 |
This logic on opensrp server core is responsible for revoking team assignments if the For Thailand deployment we set the |
Looks like this issue does not affect any plans since the above fix was deployed as seen below
|
@samkanga We will need to run a script to update the |
There have been reports on dsme channel concerning active plans that have there team assignments revoked.
This is the list of active plans with revoked team assignments
Here is a sample of team assignments for 2 plans
select * from team.organization_location where plan_id in (select id from core.plan where identifier = 'd1fbdbdb-fa2e-5d67-92d5-49a26736e34c');
id | organization_id | location_id | plan_id | from_date | to_date | duration
--------+-----------------+-------------+---------+------------+------------+-------------------------
524381 | 198 | 18814 | 9448 | 2021-12-10 | 2021-12-31 | [2021-12-10,2021-12-31)
524382 | 243 | 18814 | 9448 | 2021-12-10 | 2021-12-31 | [2021-12-10,2021-12-31)
524383 | 67 | 18814 | 9448 | 2021-12-10 | 2021-12-31 | [2021-12-10,2021-12-31)
524566 | 191 | 18814 | 9448 | 2021-12-09 | 2026-12-10 | [2021-12-09,2026-12-11)
524574 | 167 | 18814 | 9448 | 2021-12-09 | 2026-12-10 | [2021-12-09,2026-12-11)
The text was updated successfully, but these errors were encountered: