Werk #12292: Rules: Fix displaying rule with empty service conditions

Komponente Setup
Titel Rules: Fix displaying rule with empty service conditions
Datum 11.03.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p1 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Rules with an empty list of service conditions can not be created with the setup these days because they match no service at all. Previous versions made this possible.

Displaying these rules was not possible with previous 2.0.0 and lead to a crash "IndexError (list index out of range)".

Zur Liste aller Werks