Bug 54896 - Ignore operational attributes in exam mode user copy
Ignore operational attributes in exam mode user copy
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v2
Assigned To: Florian Best
Sönke Schwardt-Krummrich
Depends on: 54883
Blocks: 56064
  Show dependency treegraph
Reported: 2022-06-24 10:53 CEST by Florian Best
Modified: 2023-05-14 06:16 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): API change
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2022-06-24 10:53:25 CEST
The exam mode copies all attributes from obj.oldattr.
When oldattr contains operational attributes the creation of the object fails, as it's only possible to set them with relax control.
Nevertheless operational attributes should of course not be copied.

We should ignore operational attributes in the Exam module user copy.

+++ This bug was initially created as a clone of Bug #54883 +++

The entry UUID of UDM objects should be accessible for programmers.

This should be done be simply add a python property `entry_uuid` to the simpleLDAP base class.

The reason why this should be accessible is that customer projects otherwise need to do a LDAP search to get this. This is a unneeded performance impact.
Comment 1 Florian Best univentionstaff 2022-06-24 11:00:15 CEST
8a5401e57f4d | Bug #54896: ignore operational attributes in exam module user copy

ucs-school-umc-exam (10.0.5)
8a5401e57f4d | Bug #54896: ignore operational attributes in exam module user copy
Comment 2 Florian Best univentionstaff 2022-06-27 13:24:04 CEST
c993e99b407c | Bug #54883: Bug #54896: require UCS@school 5.0 v2 to upgrade to UCS 5.0-2
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2022-07-05 23:12:02 CEST
OK: code change
OK: installation
OK: ucs-test
OK: changelog entry
OK: advisory
OK: functional change

Manually tested → VERIFIED
Comment 4 Tobias Wenzel univentionstaff 2022-07-15 08:31:10 CEST
UCS@school 5.0 v2 has been released.


If this error occurs again, please clone this bug.