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: [DHIS2-14139] check fileResource null reference (2.41) #19407

Merged

Conversation

tokland
Copy link
Contributor

@tokland tokland commented Dec 9, 2024

https://dhis2.atlassian.net/browse/DHIS2-14139

Problem: When trying to delete a file (data element of type FILE_RESOURCE) in Tracker Capture, the event PUT request fails with a NullPointerException.

Solution: Check if the object is null before accessing it.

@tokland tokland force-pushed the fix/2.41-delete-file-resource-in-event branch from 9a7c95e to 608ae0d Compare December 12, 2024 13:17
Copy link

sonarcloud bot commented Dec 12, 2024

@ameenhere ameenhere merged commit 016f5ea into dhis2:2.41 Dec 14, 2024
15 checks passed
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.

2 participants