-
Bug
-
Resolution: Obsolete
-
Neutral
-
None
-
6.2.3
-
None
-
None
Dialogs that contains a multivalue field is not displaying correctly the Multivalue field values if nodes are not correlative. It is not detected that there is a missing node and it is displayed in the dialog as an empty entry.
Steps to reproduce
- create a new dialog definition (see dialog definition attach)
- Open the dialog and include for entries using the multi value field.
- Go to JCR Browser and delete one of them in the middle
- Open the dialog again to see the current data
Expected result
Just the existing nodes are displayed
Current result
The deleted node is displayed in the dialog with missing values. The last node with content is not displayed.
Workaround
There is a groovy script that is fixing this nodes, this script has been created by the partner (Big Thanks!)
Dev notes
In Magnolia 5.7 this issue didn't happen, the deleted node is ignored and not displayed.
If the entry is removed from the dialog itself, the nodes are renumbered in the correct order.
Same issue is happeningg on 6.2.3 with the new UI 6 definition
form:
properties:
itemsLex:
$type: jcrMultiField
itemProvider:
$type: jcrChildNodeProvider
supportI18N: false
entryResolution:
class: info.magnolia.ui.editor.ByLexicographicallyIndexedChildNodes$Definition
orderHandler:
class: info.magnolia.ui.editor.LexicographicallyIndexedJcrNodeOrderHandler$Definition
field:
$type: compositeField
properties:
text:
$type: textField
link:
$type: textField
- is related to
-
MGNLUI-6253 Allow MultiFields using jcrChildNodeProviders to read children regardless of their names (followup to 6190)
- Closed