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

Component Setup
Title Fix assert self._rulespec.item_name is not None
Date Feb 13, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p40 2.2.0p23 2.3.0b1 2.4.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks