Werk 16414 was adapted. The following is the new Werk, a diff is shown at the end of the
message.
Title: Migrate Old Configuration Format For 'Disable notifications'
Class: fix
Compatible: compat
Component: notifications
Date: 1710770356
Edition: cre
Level: 1
Version: 2.2.0p26
In Werk #6417, we announced that some changes to
<code>etc/check_mk/conf.d/wato/contacts.mk</code> are
necessary before updating. In case a user did not migrate his configuration, they would
encounter
the following crash in 2.2.0, but not in 2.1.0:
C+:
File "/omd/sites/edding/lib/python3/cmk/base/notify.py", line 968, in
rbn_rule_contacts
if disable_notifications_opts.get("disable", False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'get'
C-:
With this Werk, the configuration is migrated automatically.
------------------------------------<diff>-------------------------------------------
Title: Migrate Old Configuration Format For 'Disable notifications'
Class: fix
Compatible: compat
Component: notifications
Date: 1710770356
Edition: cre
Level: 1
- Version: 2.2.0p25
? ^
+ Version: 2.2.0p26
? ^
In Werk #6417, we announced that some changes to
<code>etc/check_mk/conf.d/wato/contacts.mk</code> are
necessary before updating. In case a user did not migrate his configuration, they would
encounter
the following crash in 2.2.0, but not in 2.1.0:
C+:
File "/omd/sites/edding/lib/python3/cmk/base/notify.py", line 968, in
rbn_rule_contacts
if disable_notifications_opts.get("disable", False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'get'
C-:
With this Werk, the configuration is migrated automatically.