-
Bug
-
Resolution: Fixed
-
Major
-
2.2.1
-
None
-
-
Empty show more show less
Case not yet handled:
A converter is defined (JCR store the option identifier, and display the value) together with a default value (This default value is displayed the first time the dialog is displayed).
In this case the default value (Option name) has to be converted to an identifier in createDefaultValue() in order to be supported by the converter.
How to reproduce:
- Create a new DataSelectField field (by configuration)
- This dataSelectField has to
- define a IdentifierToPathConvertor (the value of the selected option is the Node identifier of the option)
- point to remote options
- one of the remote option has to define a default value.
The first time the dialog containing this field is displayed, the default value configured has to be selected. If no change done, after saving the dialog, the Identifier of the default option has to be saved.
Provided config file:
- config.modules.data.config.options.xml: remote options definition (fr is set as default)
- config.modules.data.dialogs.company.form.tabs.addressTab.fields.select.xml : select field definition set to a company dialog
- config.modules.ui-admincentral.config.appLauncherLayout.groups.data.apps.companyApp.xml : activate the company app.
Acceptance criteria