jmix
jmix copied to clipboard
"Entity selection view" parameter of dynamic attribute with "Entity" type contains only hardcode options
Environment
Jmix version: 2.3.2
Bug Description
"Entity selection view" parameter contains only two options with ".list" and ".lookup" suffixes in any way. It doesn't support not stantart screen ids.
There are two possible problems:
- If you select not existing screen id you have error
- You can't select screen with custom id
Steps To Reproduce
Create project
- Add Dynamics attribute add-on
- Create an entity (e.g. FirstEntity) and views for it
- Modify value of the @ViewController annotation of a list screen of the FirstEntity. Set up the "FirstEntity.modifiedList"
- Create SecondEntity
- Run application
- 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)
Current Behavior
There are two options with incorrect views' names
Expected Behavior
The text "FirstEntity.modifiedList" should be dysplayed as an option.