Univention Bugzilla – Bug 56551
Wrong attribute name used for detecting if mail is present mandatory attributes
Last modified: 2023-09-07 12:22:19 CEST
It was reported that in ucs-school-import/modules/ucsschool/importer/models/import_user.py 'mailPrimaryAttribute' is used when it should be 'mailPrimaryAddress' instead: 859 except (AttributeError, IndexError): 860 if ( 861 "email" in self.config["mandatory_attributes"] 862 or "mailPrimaryAttribute" in self.config["mandatory_attributes"] 863 ): and 877 except EmptyFormatResultError: 878 if ( 879 "email" in self.config["mandatory_attributes"] 880 or "mailPrimaryAttribute" in self.config["mandatory_attributes"] 881 ):