]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
DelayedWriteGraph denyValue should deny the value statement as well 91/2691/1
authorJani Simomaa <jani.simomaa@gmail.com>
Sat, 8 Sep 2018 05:32:00 +0000 (08:32 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 25 Feb 2019 11:28:12 +0000 (11:28 +0000)
gitlab #113

Change-Id: I5913e3d888d10315fadb323dfffb585e22d68444
(cherry picked from commit 5f3260ea85b48717183e28efee5806f706d04c05)
(cherry picked from commit da9040581c9c7e7611de39f10466a36efd2bdd2a)

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);
                }
                }