Bug 23981

Summary: Extended attribute per CLI
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UDM - CLIAssignee: Andreas Büsching <buesching>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5    
Version: UCS 3.0   
Target Milestone: UCS 3.0 - RC   
Hardware: Other   
OS: Linux   
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):
Max CVSS v3 score:

Description Stefan Gohmann univentionstaff 2011-10-07 06:47:36 CEST
Aktuell kann ich kein extended attribute per CLI anlegen bzw. ich kann die Optionen nicht anzeigen:

root@master41:~# udm settings/extended_attribute create
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 596, in doit
    out = usage() + module_usage(information, action)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 219, in module_usage
    _print_property( module, action, item, out )
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 139, in _print_property
    property = module.property_descriptions.get( name )
TypeError: unhashable type: 'list'
root@master41:~#
Comment 1 Stefan Gohmann univentionstaff 2011-10-07 06:48:23 CEST
Andreas, habt ihr in dem Bereich etwas geändert? Wenn nein, dann kannst du mir den Bug geben.
Comment 2 Andreas Büsching univentionstaff 2011-10-07 10:59:46 CEST
(In reply to comment #1)
> Andreas, habt ihr in dem Bereich etwas geändert? Wenn nein, dann kannst du mir
> den Bug geben.

Das lag an einem besonderem Layout in dem Modul settings/extended_attribute, dass mit UCs 3.0 nicht mehr unterstützt wird. Das Layout wurde angepasst.
Comment 3 Stefan Gohmann univentionstaff 2011-11-23 19:03:36 CET
OK:

root@master61:~# udm settings  | sed -ne 's|  ||p' | while read module; do udm $module | grep -i error; done
root@master61:~#
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:49:20 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"