From: Jani Simomaa Date: Sat, 8 Sep 2018 05:32:00 +0000 (+0300) Subject: DelayedWriteGraph denyValue should deny the value statement as well X-Git-Tag: v1.43.0~136^2~384 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F2147%2F2;p=simantics%2Fplatform.git DelayedWriteGraph denyValue should deny the value statement as well gitlab #113 Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444 --- diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/DelayedWriteGraph.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/DelayedWriteGraph.java index 44e23d017..f8797b251 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/DelayedWriteGraph.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/DelayedWriteGraph.java @@ -492,6 +492,7 @@ public class DelayedWriteGraph extends ReadGraphImpl implements WriteGraph, Byte if (valueStatement != null && !valueStatement.isAsserted(resource)) { Resource value = valueStatement.getObject(); + deny(valueStatement); denyValue(value); } }