Bug 56168 - udm/reports/create: The object is not a users/user.
udm/reports/create: The object is not a users/user.
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-20 12:47 CEST by Maximilian Janßen
Modified: 2023-06-26 11:47 CEST (History)
0 users

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: 2023052521000201, 2023062121000037
Bug group (optional): 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 Maximilian Janßen univentionstaff 2023-06-20 12:47:24 CEST
Version: 5.0-3 errata642

Remark: Kein Export als PDF oder CSV möglich

Error:
Interner Server-Fehler in "udm/reports/create (groups/group)".
Request: udm/reports/create (groups/group)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 101, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 171, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 671, in _thread
    report_file = report.create(request.flavor, request.options['report'], request.options['objects'])
  File "%PY3%/univention/directory/reports/report.py", line 73, in create
    tmpfile = doc.create_source(objects)
  File "%PY3%/univention/directory/reports/document.py", line 136, in create_source
    interpret.run()
  File "%PY3%/univention/directory/reports/interpreter.py", line 71, in run
    self.resolve(token, base_objects[0])
  File "%PY3%/univention/directory/reports/interpreter.py", line 119, in resolve
    new_base = admin.get_object(token.attrs['module'], value)
  File "%PY3%/univention/directory/reports/admin.py", line 284, in get_object
    return _admin.get_object(module, dn)
  File "%PY3%/univention/directory/reports/admin.py", line 137, in get_object
    return self.get_object_real(module, dn)
  File "%PY3%/univention/directory/reports/admin.py", line 157, in get_object_real
    new = ua_objects.get(module, None, self._access, position=self._position, dn=dn)
  File "%PY3%/univention/admin/objects.py", line 107, in get
    raise univention.admin.uexceptions.wrongObjectType('The object %s is not a %s.' % (dn, module.module))
univention.admin.uexceptions.wrongObjectType: Der Objekttyp dieses Objekts unterscheided sich von dem angegebenen Objekttyp: The object uid=ldapsearch-AI,cn=service
user,dc=****,dc=*** is not a users/user.

Role: domaincontroller_master



Not sure if uid=ldapsearch-AI is a customer solution or from a app/…
Comment 1 Maximilian Janßen univentionstaff 2023-06-26 11:47:50 CEST
Version: 5.0-3 errata677

Remark: Es wird versucht, ein Report von allen Gruppen zu generieren. (214 Stück)
Leider kommt es zu dem Fehler.
Dabei spielt es keine Rolle, ob PDF oder CSV gewählt wird.

Error:
Interner Server-Fehler in "udm/reports/create (groups/group)".
Request: udm/reports/create (groups/group)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 101, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 171, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 671, in _thread
    report_file = report.create(request.flavor, request.options['report'], request.options['objects'])
  File "%PY3%/univention/directory/reports/report.py", line 73, in create
    tmpfile = doc.create_source(objects)
  File "%PY3%/univention/directory/reports/document.py", line 136, in create_source
    interpret.run()
  File "%PY3%/univention/directory/reports/interpreter.py", line 71, in run
    self.resolve(token, base_objects[0])
  File "%PY3%/univention/directory/reports/interpreter.py", line 119, in resolve
    new_base = admin.get_object(token.attrs['module'], value)
  File "%PY3%/univention/directory/reports/admin.py", line 284, in get_object
    return _admin.get_object(module, dn)
  File "%PY3%/univention/directory/reports/admin.py", line 137, in get_object
    return self.get_object_real(module, dn)
  File "%PY3%/univention/directory/reports/admin.py", line 157, in get_object_real
    new = ua_objects.get(module, None, self._access, position=self._position, dn=dn)
  File "%PY3%/univention/admin/objects.py", line 107, in get
    raise univention.admin.uexceptions.wrongObjectType('The object %s is not a %s.' % (dn, module.module))
univention.admin.uexceptions.wrongObjectType: Der Objekttyp dieses Objekts unterscheided sich von dem angegebenen Objekttyp: The object uid=ldapsearch-AI,cn=service
user,dc=***,dc=*** is not a users/user.

Role: domaincontroller_master