Bug 46516 - setUserPreference tries add objectClass univentionPerson
setUserPreference tries add objectClass univentionPerson
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-06 15:43 CET by Jürn Brodersen
Modified: 2020-07-03 20:55 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.229
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2018-03-06 15:43:25 CET
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.
Comment 1 Jürn Brodersen univentionstaff 2018-08-27 11:27:31 CEST
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.
Comment 2 Ingo Steuwer univentionstaff 2020-07-03 20:55:31 CEST
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.