Univention Bugzilla – Bug 29745
Suche mit der Eigenschaft "Mail Home Server" führt zum Traceback
Last modified: 2016-03-22 10:06:18 CET
Wenn man das Benutzermodul öffnet und neben dem "Suche"-Button auf "Erweiterte Optionen" klickt, wird u.a. eine weitere ComboBox angezeigt. Wählt man in dieser ComboBox nun "Mail Home Server" aus, führt dies sofort zu einem Traceback: ----- Die Ausführung des Kommandos udm/values ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 565, in values result = module.get_default_values( property_name ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 247, in get_default_values value = read_syntax_choices( prop.syntax.name ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 155, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 1173, in read_syntax_choices syntax = udm_syntax.LDAP_Search( options[ 'syntax' ], options[ 'filter' ], options[ 'attributes' ], options[ 'base' ], options[ 'value' ], options[ 'viewonly' ], options[ 'empty' ] ) KeyError: 'syntax'
Das führt bei jeder Suche zu einem Traceback, wo "Mail Home Server" als Eigenschaft benutzt wird.
Das Problem wird wohl für jede LDAP_Search-Syntax gelten. D.h. man sollte diese Attribute der Liste der durchsuchbaren rausnehmen und wo es geht, die Syntax umstellen. LDAP_Search wird für von uns mitgebrachten Syntaxen kaum noch gebraucht. Für mailHomeServer siehe Bug#29326
*** This bug has been marked as a duplicate of bug 38635 ***
Tested in combination with bug 38635
<http://errata.software-univention.de/ucs/4.1/133.html>