Bug 25278 - UMC: Traceback bei Gruppe ohne Optionen
UMC: Traceback bei Gruppe ohne Optionen
Status: RESOLVED DUPLICATE of bug 28145
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P3 minor (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-07 14:35 CET by Florian Best
Modified: 2013-11-06 16:21 CET (History)
2 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 Florian Best univentionstaff 2011-12-07 14:35:39 CET
Wenn ich beim anlegen einer Gruppe alle Optionen deaktiviere wird beim Speichern nicht mehr geprüft, ob das "Name"-Feld ausgefüllt ist.
→ Es sollte beim anlegen einer Gruppe geprüft werden, ob mindestens eine(/benötigte) Option ausgewählt wurde.

File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, in _run
tmp = self._function()
File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in __call__
return self._function( *tmp, **self._kwargs )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 267, in _thread
dn = module.create( properties, container = options.get( 'container' ), superordinate = options.get( 'superordinate' ) )
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 312, in create
obj.create()
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py', line 332, in create
return self._create()
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py', line 603, in _create
self._ldap_pre_create()
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/groups/group.py', line 503, in _ldap_pre_create
self.dn='%s=%s,%s' % (mapping.mapName('name'), mapping.mapValue('name', self.info['name']), self.position.getDn())

KeyError: 'name'
Comment 1 Lukas Walter univentionstaff 2013-11-06 16:21:29 CET

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