Werk #14335: Fix crash if no icon and an emblem was configured

Komponente User interface
Titel Fix crash if no icon and an emblem was configured
Datum 21.06.2022
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If you configured e.g. a view with Icon "empty" and an emblem, the GUI crashed, showing the error "TypeError: argument of type 'NoneType' is not iterable" in ~/var/log/web.log.

Zur Liste aller Werks