Bug 36763 - traceback when adding computerroom with invalid name
traceback when adding computerroom with invalid name
Status: RESOLVED DUPLICATE of bug 39290
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room administration
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.0.x
Assigned To: Bugzilla Mailingliste
:
: 44344 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-17 17:17 CET by Florian Best
Modified: 2017-04-21 16:36 CEST (History)
2 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 Florian Best univentionstaff 2014-11-17 17:17:23 CET
Tried to add the room 'Raum (empty)' which fails with the following traceback:

Traceback:
Die Ausführung des Kommandos schoolrooms/add ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py",
line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/schoolldap.py", line 204, in
wrapper_func
    return func( *args, **kwargs )
  File
"/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolrooms/__init__.py",
line 132, in add
    success = room.create(ldap_user_write)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 365, in create
    success = self.create_without_hooks(lo, validate)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 380, in
create_without_hooks
    raise ValidationError(self.errors.copy())
ValidationError: {'name': ['Der Wert darf nur Zahlen, Buchstaben und Punkte enthalten.']}
Comment 1 Florian Best univentionstaff 2016-01-05 12:53:04 CET

*** This bug has been marked as a duplicate of bug 39290 ***
Comment 2 Florian Best univentionstaff 2017-04-21 16:36:39 CEST
*** Bug 44344 has been marked as a duplicate of this bug. ***