cuba
cuba copied to clipboard
Entity inspector exports composition collections with a _minimal view
Environment
- Platform version: 7.2.18
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.