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

Component User interface
Title Fix crash if no icon and an emblem was configured
Date Jun 21, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.

To the list of all Werks