Werk #20137: Main menu no longer crashes on visuals without search terms
| Component | User interface | ||||
| Title | Main menu no longer crashes on visuals without search terms | ||||
| Date | Jul 28, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The main menu entry of a view, dashboard or report can carry additional search terms. Views and dashboards loaded from disk get an empty list of search terms when they do not define any, but built in visuals - including those registered by an extension - are used as they are.
A built in visual without search terms therefore made the main menu fail with
KeyError: 'main_menu_search_terms', which took down every page of the user
interface.
A visual without search terms is now treated as having none.