Bug 43045 - Exam mode copies ucsschoolRecordUID+ucsschoolSourceUID
Exam mode copies ucsschoolRecordUID+ucsschoolSourceUID
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Sönke Schwardt-Krummrich
Florian Best
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-24 11:39 CET by Sönke Schwardt-Krummrich
Modified: 2016-12-12 13:10 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.343
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-11-24 11:39:34 CET
When starting the exam mode, the user accounts of the selected groups are duplicated. The exam user accounts get e.g. new uidNumbers and sambaSIDs but the attributes ucsschoolRecordUID and ucsschoolSourceUID are copied, too. This brings trouble to the new automatic import because the RecordUID is no longer *unique*.
Comment 1 Florian Best univentionstaff 2016-11-24 11:46:10 CET
Workaround:
eval "$(ucr shell)"
ucr set 'ucsschool/exam/user/ldap/blacklist'="$ucsschool_exam_user_ldap_blacklist|ucsschoolSourceUID|ucsschoolRecordUID"
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2016-11-24 12:29:22 CET
The workaround is also the solution. "|ucsschoolRecordUID|ucsschoolSourceUID" is appended to the UCR variable ucsschool/exam/user/ldap/blacklist to prevent that these attributes are copied to exam users.

ucs-school-umc-exam (6.0.10-1):
r74726 | Bug #43045: do not copy RecordUID and SourceUID for exam users

Package: ucs-school-umc-exam
Version: 6.0.10-1.122.201611241225
Branch: ucs_4.1-0
Scope: ucs-school-4.1r2
Comment 3 Florian Best univentionstaff 2016-11-24 15:18:55 CET
REOPEN: Missing YAML.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2016-12-05 13:45:41 CET
r74967 | Bug #43045: updated advisory
Comment 5 Florian Best univentionstaff 2016-12-05 14:50:43 CET
OK: new installation
OK: upgrading
OK: YAML
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2016-12-12 13:10:20 CET
UCS@school 4.1 R2 v9 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v9-de.html