Bug 47950 - udm/types (users/user) check_license: KeyError: '10'
udm/types (users/user) check_license: KeyError: '10'
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-10 19:00 CEST by Johannes Keiser
Modified: 2022-06-30 14:32 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?: 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.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018100521000033
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 2018-10-10 19:00:21 CEST
Version: 4.3-2 errata264 (Neustadt)

Internal server error during "udm/types (users/user)".
Request: udm/types (users/user)

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 186, in _recv
    self.handle(msg)
  File "%PY2.7%/univention/management/console/protocol/modserver.py", line 296, in handle
    self.__handler.init()
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 180, in init
    self.settings = UDM_Settings()
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 898, in __init__
    self.read()
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 901, in read
    self._read_directories()
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 84, in _decorated
    return method(*args, **kwargs)
  File "%PY2.7%/univention/management/console/ldap.py", line 140, in _decorated
    kwargs[loarg], kwargs[poarg] = lo, po = getter()
  File "%PY2.7%/univention/management/console/ldap.py", line 130, in getter
    conn = connection()
  File "%PY2.7%/univention/management/console/ldap.py", line 53, in connection
    bind(lo)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 199, in bind_user_connection
    self.require_license(lo)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 210, in require_license
    check_license(lo, True)
  File "%PY2.7%/univention/management/console/modules/udm/tools.py", line 117, in check_license
    _check_license(ldap_connection)
  File "%PY2.7%/univention/management/console/modules/udm/tools.py", line 169, in _check_license
    code = univention.admin.license.init_select(ldap_connection, 'admin')
  File "%PY2.7%/univention/admin/license.py", line 338, in init_select
    self.select(module, lo)
  File "%PY2.7%/univention/admin/license.py", line 206, in select
    self.set_values(lo, module)
  File "%PY2.7%/univention/admin/license.py", line 288, in set_values
    self.__countSysAccounts(lo)
  File "%PY2.7%/univention/admin/license.py", line 387, in __countSysAccounts
    self.filters[self.version][License.USERS]])
KeyError: '10'

Role: domaincontroller_master
Comment 1 Ingo Steuwer univentionstaff 2021-05-14 15:43:30 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have 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 it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.