Univention Bugzilla – Bug 50636
If the creation of the exam-mode breaks, remnants should be removed and changes revoked
Last modified: 2020-10-12 16:19:03 CEST
If the creation of the exam-mode breaks or was canceled during its creation, there are still some remnants:
1. The exams users remain unchanged, but these are cleaned up by the exam-and-room-cleanup.
2. The user based on the exam user retains the attribute "sambaUserWorkstations: $".
This is not removed by the cleanup script. This causes the students not to be able to login anymore, till this is fixed.
This can only be removed manually via UDM or with a properly completed class test.
At least the exam-and-room-cleanup should remove this attribute value, too.
We had various improvements in the Exam Mode in the last months, is this bug report still valid?
As usual the ticket is closed. Do you expect me to reopen it and ask the customer, if this is still a problem.
What does your automated test say? This should be easy to reproduce.
(In reply to Ingo Steuwer from comment #1)
> We had various improvements in the Exam Mode in the last months, is this bug
> report still valid?
I should have been more precise - I'd like to get feedback from development or Michel here
(In reply to Ingo Steuwer from comment #3)
> (In reply to Ingo Steuwer from comment #1)
> > We had various improvements in the Exam Mode in the last months, is this bug
> > report still valid?
> I should have been more precise - I'd like to get feedback from development
> or Michel here
We will check that.
I implemented a fix in
[twenzel/50636_exam_break_up] 754beaad4 Bug #50636: restore orig user data in cleanup script
(of course I meant cleanup :) )
There is a typo in your code
After fixing that on my local branch, I tested by starting an exam and executing
The sambaWorkstations of the original users were cleaned up. Both with previously empty and filled values.
Please fix typo and create a test for the exam-and-room-cleanup script. You do not need to test the entire functionality of the script, but the newly added one of cleaning up original users sambaWorkstations.
After that please merge and build
I corrected the type & wrote a test. The branch was renamed, too. After that I merged & built.
[4.4] c1752489e Bug #50636: yaml version
[4.4] 8b39b793f Bug #50636: Changelogs & yamls
[4.4] 95ab9738e Bug #50636: Merge branch 'twenzel/50636_exam_cleanup' into 4.4
[4.4] 5cb886a1a Bug #50636: add ucs-test
[4.4] b9fecc878 Bug #50636: restore orig user data in cleanup script
Package installs: OK
UCS@school 4.4 v7 has been released.
If this error occurs again, please clone this bug.