Bug 48570 - schoolrooms/put: ldapError: Already exists
schoolrooms/put: ldapError: Already exists
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC
UCS@school 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-31 17:16 CET by Johannes Keiser
Modified: 2023-06-12 15:39 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very 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.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018112621000975, 2020012921000779, 2020081221000458
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 Johannes Keiser univentionstaff 2019-01-31 17:16:55 CET
Version: 4.1-5 errata502 (Vahr)

Traceback(f5b6e9159e114a0d1e6a96941d008f24):
Die Ausführung des Kommandos schoolrooms/put ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 281, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 190, in _response
    return function(self, request)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 114, in put
    room.modify(ldap_user_write)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 481, in modify
    success = self.modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 504, in modify_without_hooks
    self.do_modify(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 530, in do_modify
    udm_obj.modify(ignore_license=1)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 317, in modify
    return self._modify(modify_childs, ignore_license=ignore_license)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 813, in _modify
    self.lo.modify(self.dn, ml, ignore_license=ignore_license)
  File "%PY2.7%/univention/admin/uldap.py", line 471, in modify
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Already exists
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:42:57 CET
This issue has been filled against UCS@school 4.1 (R2). The maintenance with
bug and security fixes for UCS@school 4.1 (R2) has ended on 5th of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or simply reopen the issue. In this case please provide detailed information on
how this issue is affecting you.
Comment 2 Christian Castens univentionstaff 2020-08-26 15:45:02 CEST
reported again:
Version: 4.3-5 errata682 (Neustadt) - UCS@school 4.3 v9

Error:
Interner Server-Fehler in "schoolrooms/put".
Request: schoolrooms/put

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 114, in put
    room.modify(ldap_user_write)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 517, in modify
    success = self.modify_without_hooks(lo, validate, move_if_necessary)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 541, in modify_without_hooks
    self.do_modify(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 570, in do_modify
    udm_obj.modify(ignore_license=1)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 583, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1222, in _modify
    self.lo.modify(self.dn, ml, ignore_license=ignore_license, serverctrls=serverctrls, response=response)
  File "%PY2.7%/univention/admin/uldap.py", line 828, in modify
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Already exists

Role: domaincontroller_master
Comment 3 Jan-Luca Kiok univentionstaff 2023-06-12 15:32:06 CEST
This issue has been filed against UCS@school 4.3 or earlier.

UCS 4.3 is out of maintenance and UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.