Werk #20136 · Jul 28, 26
Sidebar no longer crashes on unexpected default snap-in entries
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p11All Editions