Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Steps to reproduce
multiValue:
$type: multiValueField
field:
$type: comboBoxField
datasource:
$type: optionListDatasource
options:
option1:
value: option1
- Use the config above in a dialog
- Add an empty field (do not pick any option in the combobox)
- Save the dialog
- Reopen the dialog
Expected results
Empty field is persisted.
Actual results
Empty fields are filtered out.
Workaround
Pick an option (e.g. create and "empty" option)
Development notes
Nulls are filtered in https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/editor/MultiItemConverter.java#73.
Depends on MAGNOLIA-8636.
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
MAGNOLIA-8636 PropertyUtil: null list value always converted to list of empty Strings, no matter of the property type
-
- Open
-