Disable model activation during model migration
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / migration / MigrationUtils.java
index 36671d18b457bc48c21b0f65b16b504b31558417..58197619a7a25f8c002ac6460e166ff299b1919d 100644 (file)
@@ -143,7 +143,9 @@ public class MigrationUtils {
                            graph.deny(root, L0.PartOf);
                            graph.claim(root, L0.PartOf, parent);
                            
-                           activateIfNoActiveModel(graph, root, parent);
+                           // FIXME : Model activation must be done in "activations" virtual graph.
+                           // FIXME : This step should be optional, not all the products use active models.
+                           //activateIfNoActiveModel(graph, root, parent);
 
                            CommentMetadata cm = graph.getMetadata(CommentMetadata.class);
                            graph.addMetadata(cm.add("Imported " + graph.getURI(root) + ", resource " + root));