-
Task
-
Resolution: Done
-
Neutral
-
None
-
6.2.4
-
None
-
-
Empty show more show less
-
Empty show more show less
-
UI FW 15
-
2
Hi.
The current multi field page is confusing and the lack of detail about item providers can cause errors in version prior to 6.2.4
The three different fields treat item providers differently across versions and it is difficult to explain to users. I would like to propose that an entry is added to the properties table for itemProvider, referencing common properties.
My suggestion
itemProvider
Optional for some field since 6.2.4, default is
info.magnolia.ui.editor.JcrPropertyProvider for JcrMultiValueFieldDefinition
info.magnolia.ui.editor.JcrChildNodeProviderDefinition for jcrMultiField
None for jsonMultiField
Prior to 6.2.4, jcrMultiField has no default.
See also: Common properties (linked)
I appreciate the desire to document only the latest patch release. ie
https://magnolia-cms.slack.com/archives/CDF8GN6ER/p1600265852074500
However, the example jcrMultiField that exists since MGNLUI-6316 has no itemProvider and in Magnolia 6.2.3 triggers a null pointer exception with very little explanation.
- relates to
-
MGNLUI-6222 DOC: currentItemProvider should not be used in multi fields
- Closed
-
MGNLUI-6316 DOC: Default to jcrChildNodeProvider in jcrMultiField
- Closed
-
MGNLUI-6320 DOC: Using currentItemProvider in complex fields
- Closed