There is a problem with creating dynamic attribute of "Entity" type with default value. There is an unexpected error when user is trying to set up the visibility settings for attribute.
Steps To Reproduce
Create project with two entities (FirstEntity and SecondEntity)
Create list and detail views for both of them
Add Dynamic Attributes Facet to all views of FirstEntity
Create some objects of SecondEntity
Create dynamic attribute of "Entity" type for FirstEntity
Select SecondEntity as a class for the attribute and SecondEntity.list screen as a lookup screen.
Select default value for the attribute
In addition it is necessary to check case with setting SecondEntity(the same as base entity with attributes) as a class for "Entity" attribute.
Go to visibility tab.
Current Behavior
An anexpected error is encountered.
Expected Behavior
Ability to set up screens for attribute is available.
Environment
Jmix version: 2.3.2
Bug Description
There is a problem with creating dynamic attribute of "Entity" type with default value. There is an unexpected error when user is trying to set up the visibility settings for attribute.
Steps To Reproduce
In addition it is necessary to check case with setting SecondEntity(the same as base entity with attributes) as a class for "Entity" attribute.
Current Behavior
An anexpected error is encountered.
Expected Behavior
Ability to set up screens for attribute is available.
Sample Project
DynamicAttirubeSample_2_3_999.zip