jmix
jmix copied to clipboard
EntityPickerLoader order
In the EntityPickerLoader.loadComponent() metaclass loading order is after actions loading and initialization order.
But the actions may rely on the metaclass while they are initializated. For example in method isPermitted(). In this case metaClass field will be null and the action may be in an unexpected state.
The same situation is for: TagPickerLoader
Workaround: refresh state of all actions after full loading