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

Residual program exit observations left in db #736

Open
mahalakshme opened this issue Jun 11, 2024 · 3 comments
Open

Residual program exit observations left in db #736

mahalakshme opened this issue Jun 11, 2024 · 3 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Jun 11, 2024

In order to prevent loss of data we prevented clean swipe of observations logging this message 'ProgramEnrolment Exit Observations not all allowed to be made empty. User: swagh22@ihmp, UUID: 3adf4b3a-25a0-467b-abb5-c2f42be8b3cd'. But when a user undos program exit, we are intentionally clearing the exit observations. Now clearing this as well is blocked. But since UI rendering is decided by program_exit_date_time presence we see as expected. Also again when we do program exit, we dont do union with the existing observations, we instead do fresh insert. So so far, there is no impact to the user. But this is good to fix so that we have the code doing what is expected.

@shraddha761
Copy link

@mahalakshme will you please provide some more details on this.

@mahalakshme
Copy link
Contributor Author

@shraddha761 I suggest you to pick up a different card, since this needs some background context of what happened. Let me know if you are facing any difficulties to find issues that you would like to work on.

@shraddha761
Copy link

@mahalakshme Yah please it would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis
Development

No branches or pull requests

2 participants