[MGNLUI-3611] Link list is broken due to changes in transformers Created: 29/Sep/15  Updated: 29/Sep/15  Resolved: 29/Sep/15

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

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Aleksandr Pchelintcev
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1h
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLUI-3508 Streamline form field attributes hand... Closed
duplicate
duplicates MGNLUI-3608 CompositeTransformer is adding basePr... 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

 Description   

Due to incomplete implementation of property name generation, info.magnolia.ui.form.field.transformer.composite.SwitchableTransformer now prepends (parent's) fieldname once more resulting in wrong and unexpected property names, also see protected String definePropertyName() and protected String deriveLocaleAwareName(String).

Instead of:

linkType=internal
linkTypeinternal=acc832d1-4302-4812-a13d-b7446d302dfe

it creates

linkTypelinkType=internal
linkTypeinternallinkType=acc832d1-4302-4812-a13d-b7446d302dfe

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