Univention Bugzilla – Bug 47450
don't move user when importing into additional school with alphanum lower name
Last modified: 2018-09-11 11:34:18 CEST
When the import data (CSV) or configuration (JSON) does not explicitly set the 'school' attribute, the alphanumerical first from the 'schools' attribute is used. When a user exists in OU 'B' and is imported *additionally* into OU 'A', then a unnecessary move to 'A' is done. The desired behavior is to not move a user into another OU, unless the import *removes* it from the current one.
The "school" attribute is now adapted, when the user would unnecessarily be moved. Added a ucs-test 240_import_user_dont_move_to_additional. [4.3] b950f9f81 Bug #47450: don't move user when importing into additional school with alphanumerical lower name [4.3] 4facea627 Bug #47450: add test to not move when importing OU with alphanum lower name [4.3] 4358f3726 Bug #47450: advisory [4.3] edc0ab3c5 Bug #47450: deduplicate schools attribute [4.3] 104ff1f0f Bug #47450: advisory
OK: code change OK: functional change OK: tests OK: changelog entry OK: advisory OK: package built and installable
UCS@school 4.3 v5 has been released. https://docs.software-univention.de/changelog-ucsschool-4.3v5-de.html If this error occurs again, please clone this bug.