Werk #22133 · Aug 18, 26
Views and dashboards: fix crash on a malformed filter context
A view or dashboard element whose saved context stored a filter value directly,
instead of the set of filter variables Checkmk expects, crashed the page with
AttributeError: 'str' object has no attribute 'values'. Such a context can
come from a very old configuration or from a hand edited file.
The affected element now reports its context information as missing, the way it always did for a filter that was simply not set, instead of taking the page down.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p12All Editions
- 2.4.0p36All Editions