Univention Bugzilla – Bug 47028
[4.2] ucs-school-import: Attributes of ImportUser.old_user updated to new user
Last modified: 2018-07-04 18:07:46 CEST
+++ This bug was initially created as a clone of Bug #47027 +++
When modifying an existing user during an import, the attribute "old_user" of ImportUser objects should be the unmodified ImportUser object loaded from LDAP. It is however updated with input data (from a CSV file). Hooks and other code can thus not compare the old user object and the new one.
A copy of the user object loaded from LDAP is now created for "old_user", before updating it with data from input.
[4.2] 5b9a0277 Bug #47028: fix old_user attributes being overwritten
[4.2] be9aada2 Bug #47028: changelog
[4.2] 0f812507 Bug #47028: advisory
OK: code change
??: functional test
[4.2 10ea24169] Bug #47028: add 234_modify_user_data_in_pyhooks
OK: functional test
UCS@school 4.2 v10 has been released.
If this error occurs again, please clone this bug.