Univention Bugzilla – Bug 35166
computerroom module should not add prefix to room name
Last modified: 2014-08-27 17:01:50 CEST
On the UMC interface and after creating a school manually using: univention.testing.ucsschool.UCSTestSchool().create_ou(...) 1- Adding a new computer room with a specific name is successful, but the name shown in the 'Name' field in 'Edit room' interface is prefixed with: ("%s-" % ou_name) Name: ou_name-room_name - Desired behaviour: no prefix shown to the end user. Name: room_name 2- Addding a computer to the computer room adds additional prefix ("%s-" % ou_name) to the ldap object dn and consequently to the computer room name in both 'Manage rooms and their associated computers' and 'Edit room' interfaces. dn: cn=ou_name-ou_name-room_name,cn=raeume,cn=groups,ou=ou_name,dc=... - Desired behaviour: no prefix added to the ldap object dn and thus no prefix added to name fields for the end user. dn: cn=ou_name-room_name,cn=raeume,cn=groups,ou=ou_name,dc=...
Every group membership change of a computerroom adds an additional OU prefix to the room name (which also changes the DN of that room group).
@QA: Bug 35618 creates a ucs-test script that will trigger this bug.
ucs-school-umc-rooms 10.0.4-1
> +if self.name.startswith('%s-' % self.school): It would be nicer to make a case insensitive comparison.
(In reply to Florian Best from comment #4) > > +if self.name.startswith('%s-' % self.school): > It would be nicer to make a case insensitive comparison. Done
OK Changelog ~OK
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".