Univention Bugzilla – Bug 55060
UDM Syntax error in --set addEmptyValue="TRUE"
Last modified: 2022-08-02 15:44:02 CEST
Hi. I am trying to migrate a package called univention-printer-assignemt which is running in UCS4.4 to UCS5. Python 2 to 3 migration is done. Package creates extended arributes. Package is built and installed on UCS5 VM. In UMC, in "LDAP directory -> univention-printer-list-group, I see Syntax class Data type is se to : "univention-printer-syntax" . When I opening Groups -> (eg: Domain Users), it shows the following Syntx related error: Internal server error during "udm/syntax/choices (groups/group)". Request: udm/syntax/choices (groups/group) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/notifier/threads.py", line 80, in _run result = self._function() File "/usr/lib/python3/dist-packages/notifier/__init__.py", line 105, in __call__ return self._function(*tmp, **self._kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/udm_ldap.py", line 99, in _decorated return method(*args, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/ldap.py", line 152, in _decorated result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/__init__.py", line 1002, in _thread return read_syntax_choices(syntax, options, ldap_connection=ldap_connection, ldap_position=ldap_position) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/udm_ldap.py", line 1351, in read_syntax_choices module = UDM_Module(choice['objectType'], ldap_connection=ldap_connection, ldap_position=ldap_position) KeyError: 'objectType' When I set it to : --set addEmptyValue="FLASE", then is ok.
*** This bug has been marked as a duplicate of bug 54981 ***