I can't go to list for object type

Hello,
Someone person creating some object and next when try save got something like this:


in logs i get:

Summary

[2021-03-10 12:52:34][ERROR ] — Exception on /objects/ [GET] (app.py)
Traceback (most recent call last):
File “flask/app.py”, line 2447, in wsgi_app
File “flask/app.py”, line 1952, in full_dispatch_request
File “flask_cors/extension.py”, line 165, in wrapped_function
File “flask/app.py”, line 1821, in handle_user_exception
File “flask/_compat.py”, line 39, in reraise
File “flask/app.py”, line 1950, in full_dispatch_request
File “flask/app.py”, line 1936, in dispatch_request
File “cmdb/interface/blueprint.py”, line 80, in _decorate
File “cmdb/interface/blueprint.py”, line 155, in _decorate
File “cmdb/interface/route_utils.py”, line 149, in get_request_user
File “cmdb/interface/rest_api/framework_routes/object_routes.py”, line 89, in get_objects
File “cmdb/utils/wraps.py”, line 121, in wrap
File “cmdb/framework/cmdb_render.py”, line 371, in render_result_list
File “cmdb/framework/cmdb_render.py”, line 136, in result
File “cmdb/framework/cmdb_render.py”, line 143, in _generate_result
File “cmdb/framework/cmdb_render.py”, line 204, in __set_fields
File “cmdb/framework/cmdb_render.py”, line 224, in __merge_fields_value
KeyError: ‘value’
[2021-03-10 12:52:36][ERROR ] — Exception on /objects/ [GET] (app.py)
Traceback (most recent call last):
File “flask/app.py”, line 2447, in wsgi_app
File “flask/app.py”, line 1952, in full_dispatch_request
File “flask_cors/extension.py”, line 165, in wrapped_function
File “flask/app.py”, line 1821, in handle_user_exception
File “flask/_compat.py”, line 39, in reraise
File “flask/app.py”, line 1950, in full_dispatch_request
File “flask/app.py”, line 1936, in dispatch_request
File “cmdb/interface/blueprint.py”, line 80, in _decorate
File “cmdb/interface/blueprint.py”, line 155, in _decorate
File “cmdb/interface/route_utils.py”, line 149, in get_request_user
File “cmdb/interface/rest_api/framework_routes/object_routes.py”, line 89, in get_objects
File “cmdb/utils/wraps.py”, line 121, in wrap
File “cmdb/framework/cmdb_render.py”, line 371, in render_result_list
File “cmdb/framework/cmdb_render.py”, line 136, in result
File “cmdb/framework/cmdb_render.py”, line 143, in _generate_result
File “cmdb/framework/cmdb_render.py”, line 204, in __set_fields
File “cmdb/framework/cmdb_render.py”, line 224, in __merge_fields_value
KeyError: ‘value’

Someone can help me?

From debug mode i don’t get anything

Summary

Mar 10 14:20:03 server datagerry[2713234]: [2021-03-10 14:20:03][DEBUG ] — RenderList took 28.823375701904297 MS (wraps.py)
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/route_utils.py:83: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/rest_api/framework_routes/object_routes.py:353: DeprecationWarning: Call to deprecated function make_response.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/blueprint.py:46: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/interface/blueprint.py:46: DeprecationWarning: Call to deprecated function auth_is_valid.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:255: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:03 server datagerry[2713234]: [2021-03-10 14:20:03][DEBUG ] — RenderList took 31.594514846801758 MS (wraps.py)
Mar 10 14:20:12 server datagerry[2713234]: [2021-03-10 14:20:12][DEBUG ] — event received: cmdb.exportd.run_manual (service.py)
Mar 10 14:20:18 server datagerry[2713234]: /tmp/_MEIJnHDUc/cmdb/framework/cmdb_render.py:366: DeprecationWarning: Call to deprecated function get_type.
Mar 10 14:20:18 server datagerry[2713234]: [2021-03-10 14:20:18][ERROR ] — ‘value’ (service.py)

and much more
and also this messages
Mar 10 14:14:59 server datagerry[2634557]: [2021-03-10 14:14:59][ERROR ] — ‘value’ (service.py)
Mar 10 14:15:00 server datagerry[2634557]: [2021-03-10 14:15:00][ERROR ] — ‘value’ (service.py)
Mar 10 14:15:01 server datagerry[2634557]: [2021-03-10 14:15:01][ERROR ] — ‘value’ (service.py)

What could happend. Maybe some tip? what can i do etc…

Hello,
Anybody could help?
Maybe You @mheumueller or @sergej.dumler could get me some tip how it repair?

Ok
we found what was happend.
some user want copied object, and change values in many fields. when he want saved. application show this bugs.
We found this object and turned out that application during save object doing bugs.
For 2 fields in this object disappeard values:

           {
                   "name": "rola",
           },

            {
                  "name": "notatki"
            }

we update this object values from mongod
after our update object had name and value arguments with values

           {
                   "name": "notatki",
                   "value": null
           }

then it works again.

What is interesting
He after our repair crash app again and it was wired.
In different object in different field.
Again he copied from some object.

during the conversation and detailing how he does it, it turned out that every field he does not fill out is marked by him by clicking image (Default:)

What is interesting next, fields which was filling caused which crash in app was text fields.

P.S.
What is interesting next when field was required and some user clicked pencil field was filling up “No reference set” and could save object.

Best Regards
MArcin :slight_smile: