Univention Bugzilla – Bug 45550
(4.2) ucs-school-import: ImportUser.make_email() does not honor config[mandatory_attributes]
Last modified: 2017-10-18 17:13:15 CEST
+++ This bug was initially created as a clone of Bug #42503 +++
ImportUser.make_email() raises an exception if no email address is either supplied in the input data or can be created from a scheme.
It ignores config[mandatory_attributes]: if there is no "email" in the list, no exception should be raised, but the attribute should be left empty.
As a result of Bug #44993 this now happened again at a customer in unique_email_handler.format_name().
[4.2 6f8415ed] ImportUser.make_email() now honors config[mandatory_attributes] again
[4.2 04cae196] advisory
c9dfcec6 : reverted a typo introduced in 6f8415ed
OK: code change
OK: functional test (jenkins reports no new errors and test at affected customer was successful)
UCS@school 4.2 v5 has been released.
If this error occurs again, please clone this bug.