We're updating the issue view to help you get more done. 

'Reference by' - Tab not display reference-objects

Description

Due to the change of the return values for the type management the MongoDB queries cannot be built correctly.

Environment

None

Activity

Show:
Mark Heumüller
September 23, 2020, 7:45 AM

I tested it. Works perfectly for me. Can you specify a reconstructive path?

sergej.dumler@nethinks.com
September 23, 2020, 8:25 AM

When referencing objects to other objects, they are not listed in the 'Reference by' tab. (Types with references)

Brachn: 'origin/development' is up to date.

Getting references in the class 'object-reference-list.component.ts' always returns an empty array. See line : 56.

The backend issues a warning:

Unsolvable type reference with type Field 71 was not found inside input_type: safdasfd (cmdb_object_manager.py)

Class: cmdb_object_manager.py
line: 277 - 284

Mark Heumüller
September 23, 2020, 8:57 AM

Ok, the fields are apparently not resolved if the reference fields are in a list of IDs. Now I have done the resolving correctly. This has something to do with the switching of the reference fields to multiple TypeIDs.

Mark Heumüller
September 23, 2020, 8:59 AM

Fixed with:

sergej.dumler@nethinks.com
September 23, 2020, 9:34 AM

Works perfectly

Assignee

Mark Heumüller

Reporter

sergej.dumler@nethinks.com

Labels

None

Tester

sergej.dumler@nethinks.com

Sprint

None

Fix versions

Priority

Medium
Configure