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

Komponente GUI
Titel LDAP: Fix AttributeError if attribute "Disable Notifications" is used
Datum 23.09.2020
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0i1 1.6.0p18
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks