jmix icon indicating copy to clipboard operation
jmix copied to clipboard

EntityPickerLoader order

Open Flamesson opened this issue 2 years ago • 0 comments

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

Flamesson avatar Aug 17 '22 12:08 Flamesson