]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
DelayedWriteGraph denyValue should deny the value statement as well 47/2147/2
authorJani Simomaa <jani.simomaa@gmail.com>
Sat, 8 Sep 2018 05:32:00 +0000 (08:32 +0300)
committerJani Simomaa <jani.simomaa@semantum.fi>
Sat, 8 Sep 2018 05:32:40 +0000 (05:32 +0000)
gitlab #113

Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444

bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/DelayedWriteGraph.java

index 44e23d017c99864bdc16131cd620723cc1c40cdb..f8797b251546b47cc169024f2e5cfb994f6fc529 100644 (file)
@@ -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);
                }
                }