Univention Bugzilla – Bug 50075
Name Change for Teacher gets Error When Importing due to Email already taken
Last modified: 2023-10-26 14:39:53 CEST
Import-file has has configured most important value as shown: PersonalNr, Kürzel, Vorname, Nachname Mapping: Vorname: firstname Nachname: lastname Kürzel: Username PersonalNR: employeeNumber record_uid: <employeeNumber> email: <username>@<maildomain> First import csv for the user: ---------------------------------------------- PersonalNR;Kuerzel;Name;Vorname;GebDatum;Abteilung1 abc999;USR;User;UTest;1986-05-11;R ---------------------------------------------- Account gets created correctly. Now name change due to marriage (all same except Name and Kuerzel): ---------------------------------------------- PersonalNR;Kuerzel;Name;Vorname;GebDatum;Abteilung1 abc999;USR-N;User-New;UTest;1986-05-11;R ---------------------------------------------- Import reporting an error: UserValidationError: ValidationError when modifying ImportTeacher(name=u'USR-N', school='XYZ', dn=u'uid=USR-N,cn=lehrer,cn=users,ou=XYZ,dc=multi,dc=ucs', old_dn='uid=USR,cn=lehrer,cn=users,ou=XYZ,dc=multi,dc=ucs') (source_uid:ort-teacher-test record_uid: abc999): {'email': ['The email address is already taken by another user. Please change the email address.']} ValidationError({'email': ['The email address is already taken by another user. Please change the email address.']},) Expected behaviour: Modify the object so it will have an different email-address.
This issue has been filed against UCS@school 4.4. UCS@school 4.4 is out of maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.