Univention Bugzilla – Bug 42863
Teachers classes gets removed if teacher is modified via school wizards module
Last modified: 2016-11-10 16:00:43 CET
Created attachment 8200 [details] patch If a teacher is modified in the "Users (schools)" module he gets removed from all his assigned classes. This is because the frontend hides the 'class' widget, so the value is not send along to the backend. The internal backend handling is wrong because the initial/old values aren't set. Patch attached.
ucs-school-umc-wizards (8.0.0-12): r74174 | Bug #42863: don't remove teacher from classes when editing her ucs-school-umc-wizards.yaml: r74174 | Bug #42863: don't remove teacher from classes when editing her
ucs-test-ucsschool (3.0.16-43): r74222 | Bug #42863: adjusted essential/user.py to reproduce UMC behaviour ucs-school-umc-wizards.yaml: r74221 | Bug #42863: updated advisory OK: code change OK: functional test OK: ucs-test (essential/user.py adjusted to reproduce UMC behaviour; test 70_users_module now fails with old version and succeeds with 8.0.0-12) OK: advisory
UCS@school 4.1 R2 v7 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v7-de.html If this error occurs again, please clone this bug.