Bug 45284 - AttributeError: 'NoneType' object has no attribute 'module'
AttributeError: 'NoneType' object has no attribute 'module'
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-29 14:44 CEST by Florian Best
Modified: 2022-01-27 09:56 CET (History)
0 users

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: 2017082221000767
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 Florian Best univentionstaff 2017-08-29 14:44:30 CEST
Version: 4.2-1 errata139 (Lesum)

Remark: ,

Die Ausführung des Kommandos udm/object/policies users/user ist fehlgeschlagen:

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 1132, in _thread
    object_dn, container_dn, obj = _get_object_parts(ioptions)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1122, in _get_object_parts
    _obj = _get_object(_object_dn, _module)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1101, in _get_object
    _obj = _module.get(_dn)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 82, 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 519, in get
    obj.open()
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 1496, in open
    univention.admin.handlers.simpleLdap.open(self)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 700, in open
    self.call_udm_property_hook('hook_open', self)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 692, in call_udm_property_hook
    func(module)
  File "%PY2.7%/univention/admin/hooks.d/oxUserDefaults.py", line 83, in hook_open
    for k, v in self.ox_defaults(module.lo, module.position).items():
  File "%PY2.7%/univention/admin/hooks.d/oxUserDefaults.py", line 62, in ox_defaults
    univention.admin.modules.init(lo, pos, ext_attr_module)
  File "%PY2.7%/univention/admin/modules.py", line 120, in init
    univention.admin.ucr_overwrite_properties(module, lo)
  File "%PY2.7%/univention/admin/__init__.py", line 60, in ucr_overwrite_properties
    ucr_prefix = ucr_property_prefix % module.module
AttributeError: 'NoneType' object has no attribute 'module'
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:51:07 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 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.