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
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p40 2.2.0p23 2.3.0b1 2.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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