jmix
jmix copied to clipboard
Object intance name is not shown as default value for dynamic attribute with 'Entity' type
Environment
Jmix version: 2.3.2
Bug Description
Object intance name is not shown as default value for dynamic attribute of entity type.
Steps To Reproduce
- Create project
- Add Dynamics attribute add-on
- Create an entity (e.g. FirstEntity) and views for it
- Create name attribute of String type for the entity and be sure that the attribute is appeared in Instance Name field
- Create SecondEntity
- Run application
- Create one object of FirstEntity type and set up the name for it
- Go to dynamic attributes adinistrative console
- Create dynamic attribute for SecondEntity of the "Entity" type
- Select FirstEntity of its class
- Select a view(list view)
- Select previously created object as default value for the attribute
Current Behavior
The instance name of the object is appeared in the Default Value field.
Expected Behavior
Some strange system name of the object is appeared.