Bug 50810 - Copying a User does not verify invalid duplication of attribute OXDisplayName
Summary: Copying a User does not verify invalid duplication of attribute OXDisplayName
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on:
Blocks: 51221
  Show dependency treegraph
 
Reported: 2020-02-11 09:43 CET by Christian Völker
Modified: 2025-02-05 09:29 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.006
Enterprise Customer affected?:
School Customer affected?:
ISV affected?: Yes
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020012921000233
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2020-02-11 09:43:19 CET
UCS with OX installed.

Copying a user worked in UMC

Afterwards a reject occurred:

27.01.2020 11:53:48.630 LDAP        (PROCESS): sync to ucs:   [          user] [    modify] u'uid=isa,cn=users,dc=multi,dc=lan'
27.01.2020 11:53:48.647 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
27.01.2020 11:53:48.723 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1555, in sync_to_ucs
    result = self.modify_in_ucs(property_type, object, module, position)
  File "/usr/lib/python2.7/dist-packages/univention/s4connector/__init__.py", line 1299, in modify_in_ucs
    res = ucs_object.modify(serverctrls=serverctrls, response=response)
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/users/user.py", line 1433, in modify
    return super(object, self).modify(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 651, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 1314, in _modify
    self.call_udm_property_hook('hook_ldap_pre_modify', self)
  File "/usr/lib/python2.7/dist-packages/univention/admin/handlers/__init__.py", line 1055, in call_udm_property_hook
    func(module)
  File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/oxAccess.py", line 185, in hook_ldap_pre_modify
    self.check_displayname(module)
  File "/usr/lib/pymodules/python2.7/univention/admin/hooks.d/oxAccess.py", line 113, in check_displayname
    raise univention.admin.uexceptions.valueError(oxAccess._('OX Display name "%s" is already in use.') % oxDisplayName)
valueError: OX Display name "Isa Nachname" is already in use.
Comment 1 Florian Best univentionstaff 2020-03-24 09:13:10 CET
Maybe related / duplicate of Bug #49823.
Comment 2 Jan-Luca Kiok univentionstaff 2025-02-05 09:29:08 CET
This issue has been filed against UCS 4.4.

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

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