]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Pass graph to prevent transaction within transaction 93/3193/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 4 Sep 2019 05:45:20 +0000 (08:45 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 4 Sep 2019 05:45:20 +0000 (08:45 +0300)
Fixes regression from previous change.

gitlab #355

Change-Id: I40e8351373cf6b7f291402aded74ab73f624e70e

bundles/org.simantics.issues.common/src/org/simantics/issues/common/AllActiveIssues.java

index 006e779d47cb105311e11bf66906ca2c1c4de85a..1bb292851111226453f0e0a3f187d6893a570e60 100644 (file)
@@ -47,7 +47,7 @@ public class AllActiveIssues extends ResourceRead<Set<Resource>> {
             result.addAll(graph.syncRequest(new AllModelIssues(model, false)));
         }
 
-        List<Resource> libraries = SCLFunctions.evaluateDB("Simantics/SharedOntologies", "getSharedOntologies", Tuple0.INSTANCE); 
+        List<Resource> libraries = SCLFunctions.evaluateGraph("Simantics/SharedOntologies", "getSharedOntologies", graph, Tuple0.INSTANCE); 
 
         for (Resource library : libraries) {
             result.addAll(graph.syncRequest(new AllModelIssues(library, false)));