eMoflon / emoflon-neo

A Neo4j-based implementation of eMoflon
Eclipse Public License 2.0
6 stars 2 forks source link

[Export] Execute Flattener before exporting models/Fix quiltography example #133

Closed maxischm closed 5 years ago

maxischm commented 5 years ago

When exporting a model to Neo4J the NeoCoreBuilder does not flatten the model (and its referenced models). This leads to a NPE when collectReferencedModels tries to find targeted Models. After changing the semantics of targets/proxyTargets the targets of the references within the models (e.g. GabisQuiltographyPages) are no longer resolved automatically. Instead the model must be flattened.

This could be done in the NeoCoreBuilder before calling collectReferencedModels(m) inside exportModelToNeo4j(Model m) (line 214)