[MGNLRESTUI-24] CLONE - MultiField's ByIndexedChildNodes child resolution strategy always prepends node name (Upstream adaptation) Created: 20/Mar/20  Updated: 20/Mar/20  Resolved: 20/Mar/20

Status: Closed
Project: Magnolia REST Client UI
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Jaroslav Simak Assignee: Šimon Demočko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-5726 MultiField's ByIndexedChildNodes chil... 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
Story Points: 5

 Description   

In old UI framework:

When multivalue is configured with DelegatingMultiValueSubnodeTransformer, subnodes are saved as indexes (0, 1, 2, ...)

In new UI framework:

Multivalue field name is always prepend before the index, for example (allVehicles0, allVehicles1, ...)

The use case for having just indexes as names comes from content-type apps, where DelegatingMultiValueSubnodeTransformer is used to save multivalue fields.

New UI framework uses resolution strategy to find children of multivalue fields. The strategy ByIndexedChildNodes always prepends the node name.


Generated at Mon Feb 12 06:51:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.