Univention Bugzilla – Bug 46516
setUserPreference tries add objectClass univentionPerson
Last modified: 2020-07-03 20:55:31 CEST
Favorites are not saved on slaves management/console/protocol/session.py:handle_request_set_user() uses a ldap connection which is set to write=False. The resulting ldap request is against the localhost which is a slave and therefore read only.
setUserPreference only works if the objectClass univentionPerson is already set or the account is allowed to add object classes to itself. New user account doesn't seem to have this object class? (It seems it only gets added if needed e.g. if a birthday is given.) Anything that uses setUserPreference doesn't work for non admin accounts. That includes "Do not show this message again" in the appcenter and UVMM as well as "Favorite" settings.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.