Bug 24987 - UMC Traceback provozierbar durch fehlerhaften groupName Wert an extended_attribute
UMC Traceback provozierbar durch fehlerhaften groupName Wert an extended_attr...
Status: RESOLVED DUPLICATE of bug 48551
Product: UCS
Classification: Unclassified
Component: UDM - Extended Attributes
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-29 11:45 CET by Arvid Requate
Modified: 2019-03-13 10:35 CET (History)
5 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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2011-11-29 11:45:00 CET
Durch eine fehlerhafte Definition eines Extended Attributes lies sich folgender Traceback in der UMC provozieren:

------------------------------------------------
Host: master140.arucs3rci5.qa
Please Wait...
Notification

Could not process the request.

Server error message:

Execution of command 'udm/superordinates' has failed:

Traceback (most recent call last):
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py', line 97, in execute
func( request )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 535, in superordinates
module = self._get_module( request )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 97, in _get_module
return UDM_Module( module_name )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 191, in __init__
self.load( module )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 201, in load
self.module = _module_cache.get( module )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func
ret = func( *args, **kwargs )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 179, in get
udm_modules.init( ldap_connection, ldap_position, self[ name ], template_object )
File '/usr/lib/pymodules/python2.6/univention/admin/modules.py', line 227, in init
update_extended_attributes( lo, module, position )
File '/usr/lib/pymodules/python2.6/univention/admin/modules.py', line 581, in update_extended_attributes
item.append( ea_layout.label )
AttributeError: 'Group' object has no attribute 'append'
-------------


Das EA war wie folgt angelegt worden, overwritePosition ist hier falsch:


udm settings/extended_attribute create \
        --position "cn=custom attributes,cn=univention,$ldap_base" \
        --set name=testProperty1 \
        --set objectClass=univentionFreeAttributes \
        --set ldapMapping=univentionFreeAttribute1 \
        --set module=users/user \
        --set tabName=Account \
        --set groupName=Windows \
        --set overwritePosition=Windows \
        --set shortDescription="Test Field 1"




+++ This bug was initially created as a clone of Bug #23988 +++
Comment 1 Stefan Gohmann univentionstaff 2013-05-09 15:36:25 CEST
Auf einem 3.1-1 gibt es kein Problem mit dem erzeugten EA.
Comment 2 Florian Best univentionstaff 2019-03-13 10:35:54 CET

*** This bug has been marked as a duplicate of bug 48551 ***