Bug 46095 - udm/object/policies users/user: KeyError: 'username'
udm/object/policies users/user: KeyError: 'username'
Status: RESOLVED DUPLICATE of bug 47377
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-19 17:51 CET by Johannes Keiser
Modified: 2019-03-22 13:11 CET (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: 2019031721000595, 2017122521000119
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-01-19 17:51:46 CET
Version: 4.2-2 errata222 (Lesum)

Execution of command 'udm/object/policies users/user' has failed:

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1148, in _thread
    policy_obj.clone(obj)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 2981, in clone
    self.copyIdentifier(referring_object)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 2969, in copyIdentifier
    self.info[key2] = from_object.info[key]
KeyError: 'username'
Comment 1 Johannes Keiser univentionstaff 2019-03-22 13:00:19 CET
Reported again: Version: 4.4-0 errata0 (Blumenthal)

Remark: LDAP Base: o=foo,o=bar

Interner Server-Fehler in "udm/object/policies (navigation)".
Request: udm/object/policies (navigation)

  File "%PY2.7%/notifier/threads.py", line 78, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1182, in _thread
    policy_obj.clone(obj)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 3337, in clone
    self.copyIdentifier(referring_object)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 3325, in copyIdentifier
    self.info[key2] = from_object.info[key]
KeyError: 'name'

Role: domaincontroller_master
Comment 2 Florian Best univentionstaff 2019-03-22 13:11:57 CET
This has been fixed at Bug #47377.

*** This bug has been marked as a duplicate of bug 47377 ***