Bug 32232 - School teacher/admin is unable to modify computer rooms
School teacher/admin is unable to modify computer rooms
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room administration
UCS@school 3.1 R2
Other Linux
: P1 normal (vote)
: UCS@school 3.1 R2 Errata
Assigned To: Sönke Schwardt-Krummrich
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-13 15:24 CEST by Sönke Schwardt-Krummrich
Modified: 2013-10-07 20:17 CEST (History)
3 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 Sönke Schwardt-Krummrich univentionstaff 2013-08-13 15:24:52 CEST
If a school teacher/school admin opens the computerroom administration and tries to modify an existing room, the following traceback occurs.

Die Ausführung des Kommandos schoolrooms/get 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 209, in wrapper_func
    return func( *args, **kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolrooms/__init__.py", line 118, in get
    name_pattern = re.compile('^%s-' % (re.escape(search_base.school)), flags=re.I)
  File "/usr/lib/python2.6/re.py", line 217, in escape
    return pattern[:0].join(s)
AttributeError: 'tuple' object has no attribute 'join'
Comment 1 Florian Best univentionstaff 2013-08-15 16:03:57 CEST
caused by Bug #31663
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-08-29 11:06:41 CEST
(In reply to Florian Best from comment #1)
> caused by Bug #31663

Bug 31663 was not the cause. _init_search_base() in ucsschool/lib/schoolldap.py has been fixed.

ucs-school-lib (3.0.7-1) unstable; urgency=low

The changelog files changelog-ucsschool-3.1R2-2.tex and 
release-notes-ucsschool-3.1R2-2.tex have been added.

Package test is still pending.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-08-29 11:13:56 CEST
r43527 | Bug #32232: fixed traceback in computerroom if module has been opened with ou-specific account (e.g. teacher)
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-08-29 14:19:44 CEST
> Package test is still pending.
Test was successful.
Comment 5 Florian Best univentionstaff 2013-10-01 11:27:04 CEST
Fix: OK
Changelog: missing for 3.2
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2013-10-01 13:06:15 CEST
> Changelog: missing for 3.2
→ FIXED
Comment 7 Florian Best univentionstaff 2013-10-01 13:41:55 CEST
(In reply to Sönke Schwardt-Krummrich from comment #6)
> > Changelog: missing for 3.2
> → FIXED
Ok, I fixed a wrong bug reference.
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2013-10-07 20:17:49 CEST
UCS@school 3.1 R2-2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2-2.pdf

If this error occurs again, please use "Clone This Bug".