Werk #11051: crash in notifications if "Exclude Service Groups (regex)" is used

Component Notifications
Title crash in notifications if "Exclude Service Groups (regex)" is used
Date Aug 10, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If a notification rule used the option "Exclude Service Groups (regex)" and no service group was defined for a service the notification rule processing crashed. In the var/log/notify.log a traceback that contains the line "TypeError: 'NoneType' object has no attribute 'getitem'" was shown. This is fixed.

To the list of all Werks