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-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=da9040581c9c7e7611de39f10466a36efd2bdd2a;p=simantics%2Fplatform.git DelayedWriteGraph denyValue should deny the value statement as well gitlab #113 Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444 (cherry picked from commit 5f3260ea85b48717183e28efee5806f706d04c05) --- 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); } }