Werk #16403: Fix assert self._rulespec.item_name is not None

Komponente Setup
Titel Fix assert self._rulespec.item_name is not None
Datum 13.02.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p40 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

A rulespec may have an item_spec without a title. In Werk #13387 changed it so that if this title is missing the the following crash occurs.

assert self._rulespec.item_name is not None

The occured if one navigates to the parameters via Parameters for this service and clicks Parameters. It is now fixed.

Zur Liste aller Werks