Werk #22133: Views and dashboards: fix crash on a malformed filter context
| Component | User interface | ||||||
| Title | Views and dashboards: fix crash on a malformed filter context | ||||||
| Date | Aug 18, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.