jmix icon indicating copy to clipboard operation
jmix copied to clipboard

Object intance name is not shown as default value for dynamic attribute with 'Entity' type

Open fractal3000 opened this issue 6 months ago • 0 comments

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

  1. Create project
  2. Add Dynamics attribute add-on
  3. Create an entity (e.g. FirstEntity) and views for it
  4. Create name attribute of String type for the entity and be sure that the attribute is appeared in Instance Name field image
  5. Create SecondEntity
  6. Run application
  7. Create one object of FirstEntity type and set up the name for it
  8. Go to dynamic attributes adinistrative console
  9. Create dynamic attribute for SecondEntity of the "Entity" type
  10. Select FirstEntity of its class
  11. Select a view(list view)
  12. 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. image

Sample Project

DynamicAttirubeSample_2_3_999.zip

fractal3000 avatar Aug 21 '24 13:08 fractal3000