Univention Bugzilla – Bug 35617
adding computerroom fails if group without school prefix exists
Last modified: 2014-08-27 17:01:40 CEST
Please create an ucs-test script that triggers this error and fails untils this bug exists. +++ This bug was initially created as a clone of Bug #35278 +++ We received the following traceback. It is reproducible by the following steps: 1. creating a computerroom → this creates a room called "Schule-Room" 1. create a room with the same name → this created a room called "Room" 3. create again a room with the same name → traceback When opening some room the Schoolprefix is also added to that room in the form. after saving it is displayed with the schoolprefix. Die Ausführung des Kommandos schoolrooms/add 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/ucsschool/lib/schoolldap.py", line 204, in wrapper_func return func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolrooms/__init__.py", line 147, in add group_obj.create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 333, in create return self._create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 680, in _create al=self._ldap_addlist() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/groups/group.py", line 584, in _ldap_addlist raise univention.admin.uexceptions.groupNameAlreadyUsed, ': %s' % (name) groupNameAlreadyUsed: : schule-TEST
The problem is simplier than expected. No test script required.
Yep, it was not required to create several rooms. Just one room with the same name was sufficient to trigger the traceback → verified
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".