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

fix: Return all requested fields in relationships and prevent cycles [DHIS2-18791] #19770

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

enricocolasante
Copy link
Contributor

@enricocolasante enricocolasante commented Jan 24, 2025

When retrieving an enrollment for a relationship item the events were always excluded.
This PR changes the fields that need to be retrieved for enrollment inside a relationship and ensures that the enrollment and the underneath events are not showing their relationships to avoid any possible cycle.

@enricocolasante enricocolasante changed the title fix: Return all requested fields in relationships and prevent cycles … fix: Return all requested fields in relationships and prevent cycles [DHIS2-18791] Jan 24, 2025
@enricocolasante enricocolasante marked this pull request as ready for review January 24, 2025 12:31
@enricocolasante enricocolasante requested a review from a team as a code owner January 24, 2025 12:31
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3 New issues
3 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@enricocolasante enricocolasante merged commit b23cad0 into master Jan 27, 2025
16 of 17 checks passed
@enricocolasante enricocolasante deleted the DHIS2-18791 branch January 27, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants