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: Allows any Vaccination and GM events to be saved into the Rapid Pro state table #571

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

Comments

@ekigamba
Copy link
Contributor

ekigamba commented Jun 13, 2022

https://github.com/opensrp/opensrp-server-core/blob/rapidpro-refactor/src/main/java/org/opensrp/service/rapidpro/RapidProEventService.java#L67

The operations between the OR should be enclosed in brackets

Tasks

  • Enclose the OR check in it's own group
  • After deploying the fix, delete all RapidPro states with the following conditions:
    • entity CHILD with properties GROWTH_MONITORING_DATA or VACCINATION_DATA
    • the property_key does not have a corresponding state with property IDENTIFIER or REGISTRATION_DATA
    • the client mothers is neither registered for MVAAC nor subscribed for SMS reminders
@ekigamba ekigamba added the bug Something isn't working label Jun 13, 2022
@ekigamba
Copy link
Contributor Author

ekigamba commented Jun 17, 2022

This accounts for rapid pro states which are not syncing of properties GROWTH_MONITORING_DATA and VACCINATION_DATA of entity CHILD

@ekigamba
Copy link
Contributor Author

LOE: 3 hours

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