Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 0cc2a1619facfbbe942754d6a1448e5a6820b047
https://github.com/tribe29/checkmk/commit/0cc2a1619facfbbe942754d6a1448e5a6…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-07-14 (Wed, 14 Jul 2021)
Changed paths:
A .werks/12840
M cmk/gui/wato/pages/rulesets.py
Log Message:
-----------
12840 FIX Host / service labels: Prevent to use label conditions in referred predefined
conditions
The rulesets "Host labels" and "Service labels" can not use host or
service
labels as conditions. However, previous Checkmk versions allowed it to refer
to predefined conditions which have label conditions. In case this was
configured, this lead to exceptions during config creation.
With this change, this configuration issue is now validated and an error
message is displayed in the moment one tries to assign a predefined condition
with labels to a "Host labels" or "service labels" rule.
Change-Id: Iea9c17e8a105584ad555665760408805a9ff60c4