X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.document.server%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fserver%2FFunctions.java;h=e374b700f9a821168ac14811d44c436b36ae390b;hb=790367ee137d5b7f72a0c8ead537a14e560c8e51;hp=2ba85b733adc1d10d8888afe9cb0f27f6161c1bd;hpb=d77257f045bacb676d276fe3a702e43e3a4eada3;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.document.server/src/org/simantics/document/server/Functions.java b/bundles/org.simantics.document.server/src/org/simantics/document/server/Functions.java index 2ba85b733..e374b700f 100644 --- a/bundles/org.simantics.document.server/src/org/simantics/document/server/Functions.java +++ b/bundles/org.simantics.document.server/src/org/simantics/document/server/Functions.java @@ -29,7 +29,7 @@ import org.simantics.db.layer0.function.All; import org.simantics.db.layer0.request.ProjectModels; import org.simantics.db.layer0.request.VariableProperty; import org.simantics.db.layer0.request.VariableRead; -import org.simantics.db.layer0.request.VariableValue; +import org.simantics.db.layer0.request.VariableValueWithBinding; import org.simantics.db.layer0.variable.ConstantPropertyVariable; import org.simantics.db.layer0.variable.ProxyChildVariable; import org.simantics.db.layer0.variable.ProxySessionRequest; @@ -1071,7 +1071,7 @@ public class Functions { public static Object getPropertyValueCached(ReadGraph graph, Variable variable, String name, Binding binding) throws DatabaseException { Variable property = graph.syncRequest(new VariableProperty(variable, name)); - return graph.syncRequest(new VariableValue(property)); + return graph.syncRequest(new VariableValueWithBinding(property, binding)); } public static class ParentExistsRequest extends VariableRead {