Bug 29745 - Suche mit der Eigenschaft "Mail Home Server" führt zum Traceback
Suche mit der Eigenschaft "Mail Home Server" führt zum Traceback
Status: CLOSED DUPLICATE of bug 38635
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: Florian Best
Jürn Brodersen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-11 17:31 CET by Jascha Geerds
Modified: 2016-03-22 10:06 CET (History)
6 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jascha Geerds univentionstaff 2012-12-11 17:31:14 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'
Comment 1 Jascha Geerds univentionstaff 2012-12-11 17:39:30 CET
Das führt bei jeder Suche zu einem Traceback, wo "Mail Home Server" als Eigenschaft benutzt wird.
Comment 2 Dirk Wiesenthal univentionstaff 2012-12-11 18:40:03 CET
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
Comment 3 Florian Best univentionstaff 2016-01-22 14:07:54 CET

*** This bug has been marked as a duplicate of bug 38635 ***
Comment 4 Jürn Brodersen univentionstaff 2016-03-22 10:04:18 CET
Tested in combination with bug 38635
Comment 5 Florian Best univentionstaff 2016-03-22 10:06:18 CET
<http://errata.software-univention.de/ucs/4.1/133.html>