Skip to content

fix: [DHIS2-21152] enrollment dashboard shows old information #4546

Open
simonadomnisoru wants to merge 2 commits into
masterfrom
DHIS2-21152
Open

fix: [DHIS2-21152] enrollment dashboard shows old information #4546
simonadomnisoru wants to merge 2 commits into
masterfrom
DHIS2-21152

Conversation

@simonadomnisoru
Copy link
Copy Markdown
Contributor

@simonadomnisoru simonadomnisoru commented May 5, 2026

DHIS2-21152

In the HMIS instance instance, the issue started in the 101.4.0 release. To fix it, I restored the storedEnrollmentId !== enrollmentId check, which was deleted in #3756 during the refactor from @dhis2/app-runtime to React Query. Without this check, the useCommonEnrollmentDomainData hook dispatches setCommonEnrollmentSiteData unnecessarily.

I was only able to reproduce the issue when pointing the Netlify preview link to the HMIS instance; I could not reproduce it in any of the play instances or on my local setup.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

@simonadomnisoru simonadomnisoru marked this pull request as ready for review May 5, 2026 09:50
@simonadomnisoru simonadomnisoru requested a review from a team as a code owner May 5, 2026 09:50
@simonadomnisoru simonadomnisoru requested a review from henrikmv May 11, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants