Werk #11481: LDAP: Fix AttributeError if attribute "Disable Notifications" is used

Component User interface
Title LDAP: Fix AttributeError if attribute "Disable Notifications" is used
Date Sep 23, 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.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

If you used the option "LDAP attribute to sync" for "Disable Notifications" in a LDAP connection, the Users page crashes with "AttributeError ('unicode' object has no attribute 'get')".

The reason is, that the attribute from the LDAP sync is a boolean, that returns "TRUE" or "FALSE" in unicode.

From now on, the GUI can handle this kind of format.

To the list of all Werks