Werk #20137 · Jul 28, 26
Main menu no longer crashes on visuals without search terms
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p11All Editions