[MGNLUI-4123] Reordering fields doesn't work with delegating transformers (backport) Created: 17/Jan/17  Updated: 26/Jan/17  Resolved: 24/Jan/17

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.4.5
Fix Version/s: 5.4.11

Type: Improvement Priority: Neutral
Reporter: Mikaël Geljić Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: support, transformer
Remaining Estimate: 0d
Time Spent: 1d 1h
Original Estimate: 1d

Issue Links:
Cloners
clones MGNLUI-3862 Reordering fields doesn't work with D... Closed
Relates
causality
Template:
Patch included:
Yes
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)
Date of First Response:
Sprint: Saigon 79, Saigon 80
Story Points: 2

 Description   

Backport MGNLUI-3862 to the 5.4 release branch; original description after the break.


Reordering fields doesn't work with delegating transformer implementations for the MultiValue field.

The MultiField component only implements the reordering itself, instead of delegating it to a common API for all multivalue transformers.

In worst case, if this cannot be done, then the reordering arrows should be hidden at least.

Updated in 2016-12-15
The final fix hides the up/down buttons if transfomerClass is DelegatingMultiValueFieldTransformer or its subclasses.



 Comments   
Comment by Khuong Nguyen [ 25/Jan/17 ]

Verified on magnolia-5.4.11-SNAPSHOT

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