Werk #15094: HW/SW Inventory: Fix crash while filtering the operational status in network interfaces views

Komponente User interface
Titel HW/SW Inventory: Fix crash while filtering the operational status in network interfaces views
Datum 17.02.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The crash shows

KeyError (invinterface_oper_status)
...
File "/omd/sites/gotamedia/lib/python3/cmk/gui/query_filters.py", line 947, in _add_row
    if (filter_key := "%s_%d" % (ident, row["invinterface_oper_status"])) in values:

Zur Liste aller Werks