Werk #20136: Sidebar no longer crashes on unexpected default snap-in entries
| Component | User interface | ||||
| Title | Sidebar no longer crashes on unexpected default snap-in entries | ||||
| Date | Jul 28, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously the sidebar was rendered from the default snap-in configuration by
indexing every entry as a (snap-in id, visibility) pair. An entry of any other
shape - a new style dictionary, or a malformed entry from a hand written
sidebar setting - made the whole user interface fail with KeyError: 0 or
TypeError: 'set' object is not subscriptable, so affected users saw a crash
report on every page instead of Checkmk.
Entries that can be interpreted are now used regardless of their shape, and entries that cannot are ignored instead of breaking the sidebar.
Only users without a saved sidebar configuration of their own were affected.