[MGNLUI-6151] Multi field not saving the data as in M5 Created: 24/Aug/20  Updated: 29/Sep/20  Resolved: 25/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Bartosz Staryga Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
is duplicated by MGNLUI-5340 Implement special multi-value field b... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

In M5 when multi value filed was used data were stored in following manner:
propertyName: [value1, value2, value3]

In M6 I can not reproduce the similiar result.
The closer I could get is with the help of jcrChildNodeProvider which still resulted in
propertyName:
propertyName0:
filed: value1
propertyName1:
filed: value2

Whish is not ideal for using in page templates.
Is there a way to store the data in old way (which was best for template usage)?



 Comments   
Comment by Roman Kovařík [ 25/Aug/20 ]

Does https://documentation.magnolia-cms.com/display/DOCS62/Multi+field#Multifield-JCRmulti-valuefield cover your use case?

Comment by Bartosz Staryga [ 25/Aug/20 ]

rkovarik it actually does, I must have missed it
Thank you!

Comment by Roman Kovařík [ 25/Aug/20 ]

You're welcome

Generated at Mon Feb 12 09:33:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.