Branch: refs/heads/2.1.0
Home:
https://github.com/Checkmk/checkmk
Commit: 807b729e11d20e6c418f0be566c43abecb0b2e75
https://github.com/Checkmk/checkmk/commit/807b729e11d20e6c418f0be566c43abec…
Author: Luka Racic <luka.racic(a)checkmk.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
A .werks/15914
M cmk/gui/plugins/wato/active_checks_mailbox.py
M tests/unit/checks/test_check_mailboxes.py
M tests/unit/cmk/gui/plugins/wato/test_active_checks.py
Log Message:
-----------
15914 FIX active_checks_mailbox: Fix rule transform when updating from 2.1.0p25 or
lower
If the rule for any mailbox related active check was configured without defining the
'server' option and an update to a higher version was attempted, it caused a rule
transform error.
This caused the update to fail.
The error looks similar to this:
C+:
client_id, client_secret, tenant_id = auth_data
ValueError: not enough values to unpack (expected 3, got 2)
C-:
This has now been fixed and the transformation of the rule will not cause any problems
while updating.
Change-Id: I1cb1310338c899ac21d48876cbf0d2d5bd136b53