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

ZEIR Rapid Pro bug: Enrolling already registered child from OpenSRP into Rapid pro #570

Open
2 tasks
ekigamba opened this issue Jun 13, 2022 · 2 comments
Open
2 tasks
Labels
bug Something isn't working

Comments

@ekigamba
Copy link
Contributor

ekigamba commented Jun 13, 2022

When an already registered child in OpenSRP has been enrolled into mvacc or SMS reminders, the code does not cater for the fact that:

  • they might not have previous states in the Rapid Pro state table
  • They might have previous REGISTRATION_DATA states which have not been synced to RapidPro which has UNPROCESSED_UUID. This happens when the client syncs both birth registration and update registration events of the same client within the same batch, time between 2 RapidPro syncs, which is going to be processed by the RapidProEventService before syncing to RapidPro. The code does not update the UUIDs of the UPDATE_REGISTRATION_DATA records.

Tasks

  • Add code to handle all the cases outline above
  • Write a script/query to update the current CHILD records of UPDATE_REGISTRATION_DATA with their correct UUIDs
@ekigamba ekigamba added the bug Something isn't working label Jun 13, 2022
@ekigamba
Copy link
Contributor Author

This accounts for the rapid pro states which are not syncing of entity CHILD and property UPDATE_REGISTRATION_DATA

@ekigamba
Copy link
Contributor Author

LOE: 2 FTE days

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

No branches or pull requests

1 participant