Werk #12354: Uneditable WATO rules: "You are trying to edit a rule which does not exist anymore."

Component Setup
Title Uneditable WATO rules: "You are trying to edit a rule which does not exist anymore."
Date Mar 10, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p1 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

During cmk-update-config we re-write the WATO rules. In case the transformation of a value of an individual rule failed, we did not write the transformed rulesets at all. This lead to rules that could not be edited (the reported error was "You are trying to edit a rule which does not exist anymore."). This could be mitigated by temporarily adding a new rule; after that you could edit the pre-existing rules.

With this werk, we write the transformed rulesets even if the transformation of single rules' values failed. That way, you can at least work with all of the other rules, and replace the offending ones.

If this affects you, you can simply re-run cmk-update-config.

To the list of all Werks