Environment: Debian 12, MongoDB 7, RabbitMQ 4, Datagerry DEV (from git repo), DG behind Apache 2 (HTTPS) reverse proxy (DG bound to 127.0.0.1:4000)
Reporting
- CREATING a report works but has a glitch
BUG: Reference fields are NOT shown as referenced information in report but only with the reference id
(in contrast to the object list view - there the reference are dereferenced to the referenced information( e.g. ref id → Name of the referenced computer)
- MODIFYING a report throws reproducible error
(Is this maybe related to the reported problem fix for object_id vs. public_id?)
[2025-04-07 13:12:59][ERROR ] — Exception on /reports/4 [PUT] (app.py)
Traceback (most recent call last):
File “flask/app.py”, line 1473, in wsgi_app
File “flask/app.py”, line 882, in full_dispatch_request
File “flask_cors/extension.py”, line 178, in wrapped_function
File “flask/app.py”, line 880, in full_dispatch_request
File “flask/app.py”, line 865, in dispatch_request
File “cmdb/interface/blueprints/api_blueprint.py”, line 198, in _decorate
return f(params=request_args, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “cmdb/interface/route_utils.py”, line 153, in get_request_user
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “cmdb/interface/route_utils.py”, line 177, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
TypeError: update_report() got an unexpected keyword argument ‘public_id’