Bug 44408 - (4.1r2) OX activated exam-user creates s4 tracebacks
(4.1r2) OX activated exam-user creates s4 tracebacks
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 v12
Assigned To: Daniel Tröder
Florian Best
:
Depends on: 44225
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-19 15:08 CEST by Daniel Tröder
Modified: 2017-06-23 13:33 CEST (History)
4 users (show)

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?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.229
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017040321000425
Bug group (optional): API change
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2017-04-19 15:08:21 CEST
+++ This bug was initially created as a clone of Bug #44225 +++

The customer reported that an S4-Connector-Reject is created by the exam-user, if the original-user is an activated ox-user.

The customer presumed that this behaviour is produced, because the mailPrimaryAddress attribut is deleted for the exam mode and the exam-user gets the same oxDisplayName as the original-user

Creating the exam-user without mail-account does not really work. The mail account is created anyway.
Comment 1 Daniel Tröder univentionstaff 2017-04-19 15:24:09 CEST
r78835: run hooks on the master before creating ExamUsers

run-parts on /usr/share/ucs-school-exam-master/hooks/create_exam_user_pre.d

This is used by univention-ox' 10exam_user_not_ox_user:

r78836: install pre-create hook for UCS@school to prevent activating OX for exam users

This hook interface can be used by other apps that install problematic extended attributes, too.

Package: ucs-school-umc-exam
Version: 6.0.11-2.133.201704191521
Branch: ucs_4.1-0
Scope: ucs-school-4.1r2

Package: univention-ox
Version: 8.1.0-74.197.201704191522
Branch: ucs_4.1-0
Scope: oxse4ucs
Comment 2 Daniel Tröder univentionstaff 2017-05-24 10:03:17 CEST
See Bug #44225.
Comment 3 Daniel Tröder univentionstaff 2017-05-29 15:48:31 CEST
79716+79717: copyright ucs-school-import
79718: move PyHook code to ucsschool.lib
79719: copyright ucs-school-lib
79720: run pre-create hooks through ExamUserPyHook interface (wrong bug#)
79721: add exam user pre-create hook (wrong bug#)
79723: fix package path
79724: version bump
79725: advisories

Branch: ucs_4.1-0
Scope: ucs-school-4.1r2

Package: ucs-school-lib
Version: 9.0.33-4.280.201705291537

Package: ucs-school-import
Version: 14.0.16-43.334.201705291538

Package: ucs-school-umc-exam
Version: 6.0.11-4.135.201705291538

Package: ucs-school-ox-support
Version: 0.0.1-1.1.201705291546
Comment 4 Daniel Tröder univentionstaff 2017-05-30 13:32:38 CEST
I forgot to remove the hook from the ox integration package.

r79943: move exam hook to ucs-school-ox-support package

Package: univention-ox
Version: 8.1.0-86.207.201705301332
Branch: ucs_4.1-0
Scope: oxse4ucs
Comment 5 Daniel Tröder univentionstaff 2017-05-30 13:35:26 CEST
r79944: fix install file

univention-ox 8.1.0-87.208.201705301334
Comment 6 Daniel Tröder univentionstaff 2017-06-02 09:19:37 CEST
r80005: fix KeyError if no hook is installed
r80006: advisory update

Package: ucs-school-umc-exam | Version: 6.0.11-6.137.201706020918
Comment 7 Florian Best univentionstaff 2017-06-02 10:12:56 CEST
OK
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2017-06-23 13:33:12 CEST
UCS@school 4.1 R2 v12 has been released.

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

If this error occurs again, please clone this bug.