[MGNLUI-4672] Switchable form view creates empty nodes even without actual interaction with it Created: 08/Oct/18  Updated: 17/Mar/20  Resolved: 26/Aug/19

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

Type: Task Priority: Neutral
Reporter: Jaroslav Simak Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-5287 It should not be needed to fill trans... Closed
causality
caused by MGNLUI-4622 Vaadin 8 based Switchable field solution Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: UI framework: forms, dialogs, content editing
Story Points: 8

 Description   

Prevent creating empty nodes on save
Switchable field item providers are creating empty nodes (even for language variants) on save when the field wasn't actually touched. This behavior is not intentional and needs to be resolved.

Should not be necessary to explicitly set i18n=true on the switch field for correct behaviour.

Acceptance criteria:

Empty / untouched sub nodes are not created on save.
Property field_de is created when filling german properties without setting i18n=true on the switch field.


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