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: auto-repair default icons when there is a orphan file resource [DHIS2-18606] #19424

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

jbee
Copy link
Contributor

@jbee jbee commented Dec 10, 2024

Summary

If a default icon is missing in the icon table there might still be a fileresource entry for that icon. In such case that FileResource is now reused but the content is restored to make sure the icon exists.

This is a similar but different issue to the "phantom" icons where the fileresource did exist but the content is gone whereas here the content might still exist.

@jbee jbee self-assigned this Dec 10, 2024
Copy link

sonarcloud bot commented Dec 10, 2024

@jbee jbee enabled auto-merge (squash) December 10, 2024 14:11
@jbee jbee merged commit 5efe952 into master Dec 10, 2024
16 checks passed
@jbee jbee deleted the DHIS2-18606 branch December 10, 2024 17:01
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