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

Exception on /object/reference/<id>

Description

Opening the object view page for an object with a reference field breaks the UI and creates the following exception:

 

Environment

None

Activity

Show:
Michael Batz
September 24, 2020, 3:51 PM

Can you please have a look at that issue?

sergej.dumler@nethinks.com
September 25, 2020, 5:08 AM
Edited

At first sight I would say that the behavior was corrected with the NET-558. Do you have the latest version? The following tests in the last development branch

Test 1:

  • Creating a type with only one reference

  • Manipulations in the MongoDB

    • First Case

    • Second Case

  • Both cases works

Test 2:

  • Create a type with two references

  • Works

The best thing we can do together is to have a look at.

sergej.dumler@nethinks.com
September 25, 2020, 10:07 AM

This behavior occurs if two reference fields are defined in the type generator.

Backend:

When running through the loop of the fields in the object it was checked if the searched value corresponds to the object-field-value or if it occurs in the object-field-value array.

But in the object-field-value only an Int value was stored and no array of integers.

Michael Batz
September 25, 2020, 12:56 PM

Thanks, works perfect!

Assignee

Unassigned

Reporter

Michael Batz

Labels

None

Tester

None

Sprint

None

Fix versions

Priority

Medium
Configure