Bug 56565 - schoolgroups/put (teacher): Missing school prefix in name
schoolgroups/put (teacher): Missing school prefix in name
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-11 12:16 CEST by Mika Westphal
Modified: 2023-09-11 12:17 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023091021000123, 2023091021000114
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2023-09-11 12:16:15 CEST
Interner Server-Fehler in "schoolgroups/put (teacher)".
Request: schoolgroups/put (teacher)

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolgroups/__init__.py", line 234, in put
    return self.add_teacher_to_classes(request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolgroups/__init__.py", line 447, in add_teacher_to_classes
    if not class_.modify(ldap_machine_write):
  File "%PY2.7%/ucsschool/lib/models/base.py", line 674, in modify
    success = self.modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/group.py", line 267, in modify_without_hooks
    success = super(SchoolClass, self).modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 689, in modify_without_hooks
    self.validate(lo, validate_unlikely_changes=True)
  File "%PY2.7%/ucsschool/lib/models/group.py", line 323, in validate
    raise ValueError("Missing school prefix in name: {!r}.".format(self))
ValueError: Missing school prefix in name: SchoolClass(name='ChemieLK2024', school='schule', dn=u'cn=ChemieLK2024,cn=klassen,cn=schueler,cn=groups,ou=schule,dc=paedml-linux,dc=lokal').
Comment 1 Mika Westphal univentionstaff 2023-09-11 12:17:52 CEST
(In reply to Mika Westphal from comment #0)
4.4-9 errata1371 (Blumenthal) - UCS@school 4.4 v9