Werk #12292: Rules: Fix displaying rule with empty service conditions
|Title||Rules: Fix displaying rule with empty service conditions|
|Date||Mar 11, 2021|
|Checkmk Editon||Checkmk Raw (CRE)|
|Checkmk Version||2.1.0b1 2.0.0p1|
|Compatibility||Compatible - no manual interaction needed|
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)".