Bug 35618 - [ucs-test] computerroom module should not add prefix to room name
[ucs-test] computerroom module should not add prefix to room name
Status: RESOLVED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Ammar Najjar
:
Depends on: 35166
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-15 15:19 CEST by Sönke Schwardt-Krummrich
Modified: 2014-08-19 11:47 CEST (History)
1 user (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 Sönke Schwardt-Krummrich univentionstaff 2014-08-15 15:19:48 CEST
Please create an ucs-test script that will trigger this bug and fails until this bug exists.

+++ This bug was initially created as a clone of Bug #35166 +++

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=...
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-08-15 15:20:00 CEST
@QA: Bug 35617 creates a ucs-test script that will trigger this bug.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2014-08-15 15:20:31 CEST
(In reply to Sönke Schwardt-Krummrich from comment #1)
> @QA: Bug 35617 creates a ucs-test script that will trigger this bug.
Wrong bug. Wrong message.
Comment 3 Ammar Najjar univentionstaff 2014-08-19 11:47:49 CEST
Script "25_room_management_module" written for Bug #35620 already triggers this bug and currently fails.