From: Tuukka Lehtonen Date: Tue, 17 Jan 2017 15:04:55 +0000 (+0200) Subject: Fixed PossibleVariable request to perform correct request X-Git-Tag: v1.27.0~19 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=657af94d0cf41efb8231e70c0f1167e75938fb16 Fixed PossibleVariable request to perform correct request Previously the request performed getVariable while it should have been invoking getPossibleVariable. refs #6982 Change-Id: I79578e621228f5dc473faddd277c34a8d639de25 --- 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); } }