Univention Bugzilla – Bug 25278
UMC: Traceback bei Gruppe ohne Optionen
Last modified: 2013-11-06 16:21:29 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'
*** This bug has been marked as a duplicate of bug 28145 ***