[MGNLUI-2891] MultiValueField should not persist empty properties Created: 14/May/14  Updated: 19/May/14  Resolved: 14/May/14

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

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File MGNLUI-2891.patch    
Issue Links:
dependency
is depended upon by MGNLPN-104 Adding & removing a segment to a vari... 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:
Epic Link: Personalisation

 Description   

info.magnolia.ui.form.field.transformer.multi.MultiValueTransformer will persist null values as the property value is set to LinkedList<Object>() by default.



 Comments   
Comment by Philip Mundt [ 14/May/14 ]

Attach a fix-patch and an additional test.

Comment by Mikaël Geljić [ 14/May/14 ]

When all items in multifield are gone, newValue is not null but an empty PropertysetItem

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