Jmix version: 1.1.3
Jmix Studio plugin version: 1.1.6-213
IntelliJ IDEA 2021.3 CE - Build #IC-213.5744.223, built on November 27, 2021
Operating System: macOS 12.1 (21C52)
File System: Case-Sensitive Journaled HFS+ (APFS)
Datebase: PostgreSQL 13
Hi Everyone
I have found that the PickerField was changed to EntityPicker in Jmix and that the actions have been renamed from:
https://doc.cuba-platform.com/manual-7.2/gui_PickerField.html
picker_lookup
picker_open
picker_clear
to:
https://docs.jmix.io/jmix/backoffice-ui/actions/standard-actions.html#picker-actions
entity_lookup
entity_open
entity_clear
but the action shortcut alias names are:
https://docs.jmix.io/jmix/backoffice-ui/actions/declarative-actions.html
PICKER_LOOKUP_SHORTCUT
PICKER_OPEN_SHORTCUT
PICKER_CLEAR_SHORTCUT
and not:
ENTITY_LOOKUP_SHORTCUT
ENTITY_OPEN_SHORTCUT
ENTITY_CLEAR_SHORTCUT
Is this correct? This does not seem consistent to me.
Furthermore, is there a list of all of these things that have been renamed?
The following code causes problems after the CUBA-to-Jmix migration if you are not aware that these actions have been renamed.
myPickerField.removeAction("picker_clear");
I have change it in the meantime to
myPickerField.removeAction("entity_clear");
Thanks in advance for your feedback.
Best regards
Chris