Bug 56202 - schoolrooms/add: univention.admin.uexceptions.noObject: No such object
schoolrooms/add: univention.admin.uexceptions.noObject: No such object
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-27 10:51 CEST by Maximilian Janßen
Modified: 2023-06-27 10:51 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2023062621000261
Bug group (optional): 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 Maximilian Janßen univentionstaff 2023-06-27 10:51:04 CEST
Internal server error during "schoolrooms/add".
Request: schoolrooms/add

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/schoolrooms/__init__.py", line 132, in add
    success = room.create(ldap_user_write)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 638, in create_without_hooks
    self.do_create(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 662, in do_create
    udm_obj.create()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 557, in create
    dn = self._create(response=response, serverctrls=serverctrls)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1248, in _create
    self._ldap_pre_create()
  File "%PY2.7%/univention/admin/handlers/groups/group.py", line 445, in _ldap_pre_create
    super(object, self)._ldap_pre_create()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 916, in _ldap_pre_create
    self.request_lock('cn-uid-position', self.dn)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1697, in request_lock
    value = univention.admin.allocators.request(self.lo, self.position, name, value)
  File "%PY2.7%/univention/admin/allocators.py", line 208, in request
    return acquireUnique(lo, position, type, value, _type2attr[type], scope=_type2scope[type])
  File "%PY2.7%/univention/admin/allocators.py", line 192, in acquireUnique
    if all(ldap.dn.str2dn(x)[0][0][0] not in attrs for x in lo.searchDn(base=base, filter='(|%s)' % ''.join(filter_format('(%s=%s)', (attr, value)) for attr in attrs), scope=scope)):
  File "%PY2.7%/univention/admin/uldap.py", line 799, in searchDn
    raise univention.admin.uexceptions.noObject(_err2str(msg))
noObject: No such object


4.4-9 errata1371 (Blumenthal) - UCS@school 4.4 v9