From 657af94d0cf41efb8231e70c0f1167e75938fb16 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Tue, 17 Jan 2017 17:04:55 +0200 Subject: [PATCH] Fixed PossibleVariable request to perform correct request Previously the request performed getVariable while it should have been invoking getPossibleVariable. refs #6982 Change-Id: I79578e621228f5dc473faddd277c34a8d639de25 --- .../src/org/simantics/db/layer0/request/PossibleVariable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/PossibleVariable.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/PossibleVariable.java index dc16b154b..0ecda0e3f 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/PossibleVariable.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/PossibleVariable.java @@ -26,7 +26,7 @@ public class PossibleVariable extends ResourceRead { @Override public Variable perform(ReadGraph graph) throws DatabaseException { - return Variables.getVariable(graph, resource); + return Variables.getPossibleVariable(graph, resource); } } -- 2.47.1