Werk #11037: Fixed NoneType error in case of missing permissions

Component Notifications
Title Fixed NoneType error in case of missing permissions
Date Jun 3, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p13 Checkmk Enterprise (CEE), Checkmk MSP (CME)

If the user, used for login, has to few permissions in servicenow, the notification could fail with:

"TypeError: 'NoneType' object has no attribute 'getitem'".

From now on, a better error message will be shown.

Details about the needed permissions where added to the help text of the notification plugin and werk #7201.

To the list of all Werks