jmix
jmix copied to clipboard
Dynamic attribues of entity types are not properly changed to other types
Environment
Jmix version: 2.3
Bug Description
From testing by forum issue: https://forum.jmix.ru/t/dinamicheskie-atributy-nevozmozhno-udalit-znachenie-po-umolchaniyu/2007
When dynamic attribyte of entity type is created and changed to e.g. string type it keeps it's "entity" settings in display
Steps To Reproduce
- Create project
- Add DynamicAttribues addon
- Create entity, screens for it, run application
- Create and save dynamic attribute category and dynamic attribute with Entity type, setup it to e.g. User entity, check "Dropdown list" other options. Choose view in visibility settings
- Go to entity edit form and see widget with dropdown list is displayed
- Return back to attribute editor and change type to e.g. String
- Go to entity edit form and see widget is no changed
Current Behavior
Entity widget keeps displing even after application restart
Expected Behavior
Widget is changed according to new attributes type
Probably add to https://github.com/jmix-framework/jmix/issues/3748