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?p=simantics%2Fplatform.git;a=commitdiff_plain;h=5f3260ea85b48717183e28efee5806f706d04c05;hp=9b9f2a9206583894edb1a4a4a93a6c6720c8dddd 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); } }