Werk #13234: Fix validation of label keys in ruleset conditions

Component User interface
Title Fix validation of label keys in ruleset conditions
Date Sep 6, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If several keys were used for label conditions in rulesets, e.g. "foo:bar" and "foo:baz", the first label was silently overwritten by the last label.

You will now get an error message if keys are used twice.

To the list of all Werks