-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fixes 404 error when loading dashboards or other entities that reference deleted glossary terms or tags #24340
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
Conversation
|
The Java checkstyle failed. Please run You can install the pre-commit hooks with |
| c.setTags(new ArrayList<>()); | ||
| } else { | ||
| c.setTags(addDerivedTags(columnTag)); | ||
| c.setTags(addDerivedTagsGracefully(columnTag)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use the same name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean by same name ? function name need to be different if same parameters list to pass, right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addDerivedTags we are updating all the occurance
we can still call that addDerivedTags instaed of addDerivedTagsGracefully, it's a minor nit nothing on functionality "Gracefully" can be removed i meant
|
|
Failed to cherry-pick changes to the 1.10.8 branch. |
…nce deleted glossary terms or tags (#24340) * Fixes 404 error when loading dashboards that reference deleted glossary terms * Fixed tests
…nce deleted glossary terms or tags (#24340) * Fixes 404 error when loading dashboards that reference deleted glossary terms * Fixed tests



Root Cause
The error occurs during tag fetching in TagLabelUtil:
These exceptions propagate up through the call stack and cause the entire getByName API to fail.
Solution
Added comprehensive error handling in TagLabelUtil.java to gracefully skip missing glossary terms:
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>