Closed dkz closed 4 years ago
This situation does not look like a bug, but editor screen in the attached project looks not quite correct. It has only a datasource for the parent entity, but an embedded entity must have its own nested datasource inside parent datasource . If you add one, then everything works correctly and embedded entities are committed.
Environment
Description of the bug or enhancement
Sample project is attached: embedded-boolean.zip Project consists of a single
TargetEntity
entity and embeddedEmbeddedBoolean
entity (generated with cuba-cli).Steps to reproduce bug:
TargetEntity
instance withembedded.value = true
embedded.value = false
Outcomes:
embedded.value
is set tofalse
embedded.value
is stilltrue
I.e. data service seems to ignore changes in embedded entity and value cannot be switched to false from UI.