From: Jussi Koskela Date: Wed, 4 Sep 2019 05:45:20 +0000 (+0300) Subject: Pass graph to prevent transaction within transaction X-Git-Tag: v1.43.0~136^2~81 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F3193%2F1;p=simantics%2Fplatform.git Pass graph to prevent transaction within transaction Fixes regression from previous change. gitlab #355 Change-Id: I40e8351373cf6b7f291402aded74ab73f624e70e --- diff --git a/bundles/org.simantics.issues.common/src/org/simantics/issues/common/AllActiveIssues.java b/bundles/org.simantics.issues.common/src/org/simantics/issues/common/AllActiveIssues.java index 006e779d4..1bb292851 100644 --- a/bundles/org.simantics.issues.common/src/org/simantics/issues/common/AllActiveIssues.java +++ b/bundles/org.simantics.issues.common/src/org/simantics/issues/common/AllActiveIssues.java @@ -47,7 +47,7 @@ public class AllActiveIssues extends ResourceRead> { result.addAll(graph.syncRequest(new AllModelIssues(model, false))); } - List libraries = SCLFunctions.evaluateDB("Simantics/SharedOntologies", "getSharedOntologies", Tuple0.INSTANCE); + List libraries = SCLFunctions.evaluateGraph("Simantics/SharedOntologies", "getSharedOntologies", graph, Tuple0.INSTANCE); for (Resource library : libraries) { result.addAll(graph.syncRequest(new AllModelIssues(library, false)));