Closed gorbunkov closed 2 years ago
Create an entity with a composition collection, e.g. Order -> OrderLines. The OrderLine entity must have several attributes.
Order -> OrderLines
OrderLine
Create an entity instance.
Open the entity inspector screen and export the Order instance.
Order
AR: In the JSON file the orderLines collection will contain items where only attributes from the instance name are present.
ER: composition collection items should be exported with the _local view. Probably, the associations should be loaded there as well.
Forum: https://forum.cuba-platform.com/t/problems-with-json-import-export-and-compositions/16150
Local and system properties has been added to export view for composition entities.
Also we need to check this issue in Jmix. -> checked: no such problem.
creates/updates is reseted at import
https://github.com/cuba-platform/cuba/issues/3290#issue-1441704457 The deleted entity is restored during import JSON #3290
Environment
Description of the bug or enhancement
Create an entity with a composition collection, e.g.
Order -> OrderLines
. TheOrderLine
entity must have several attributes.Create an entity instance.
Open the entity inspector screen and export the
Order
instance.AR: In the JSON file the orderLines collection will contain items where only attributes from the instance name are present.
ER: composition collection items should be exported with the _local view. Probably, the associations should be loaded there as well.
Forum: https://forum.cuba-platform.com/t/problems-with-json-import-export-and-compositions/16150
Implemented:
Local and system properties has been added to export view for composition entities.
Also we need to check this issue in Jmix.-> checked: no such problem.