Bug 48562 - udm/put (navigation): AttributeError: 'object' object has no attribute 'password_length'
udm/put (navigation): AttributeError: 'object' object has no attribute 'passw...
Status: RESOLVED DUPLICATE of bug 50648
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-31 15:40 CET by Johannes Keiser
Modified: 2020-06-22 14:13 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary 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.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019010321000651
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 15:40:08 CET
Version: 4.3-3 errata390 (Neustadt)

Interner Server-Fehler in "udm/put (navigation)".
Request: udm/put (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 431, in _thread
    module.modify(properties)
  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 143, in _decorated
    result = func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 455, in modify
    obj.modify()
  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 1216, in _modify
    ml = self._ldap_modlist()
  File "%PY2.7%/univention/admin/handlers/users/ldap.py", line 250, in _ldap_modlist
    self._check_password_complexity(pwhistoryPolicy)
  File "%PY2.7%/univention/admin/handlers/users/ldap.py", line 321, in _check_password_complexity
    password_minlength = max(0, pwhistoryPolicy.pwhistoryPasswordLength) or self.password_length
AttributeError: 'object' object has no attribute 'password_length'

Role: domaincontroller_master
Comment 1 Florian Best univentionstaff 2020-06-22 14:13:45 CEST
Will be part of UCS 5.0:

commit 796b45bf25ec83afabe5c8b71527e05bb59741c9
Author: Arvid Requate <requate@univention.de>
Date:   Tue Mar 17 19:56:58 2020 +0100

    Bug #50648 UDM users/ldap: Fix missing self.password_length default

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