From: Tuukka Lehtonen Date: Tue, 5 Jun 2018 13:52:23 +0000 (+0300) Subject: Fix for empty cancelled write transactions leaving scheduled updates X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=19f302bfe2446e8a0b1e4a7dd53219ac0400b75c;p=simantics%2Fplatform.git Fix for empty cancelled write transactions leaving scheduled updates gitlab #15 Change-Id: I844dab6a59df56f2097a507bcd6b6d3ec75124b1 (cherry picked from commit 4b3689543c26ac085970dd200218a9a6c122467b) --- diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java index 70e2cb10d..52a508b6f 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/State.java @@ -296,6 +296,9 @@ class State { } // This will send and accept the reverse change set. transactionToken.cancelEnd(session.writeSupport, null, session.clusterStream); + } else { + queryProvider.performDirtyUpdates(graph); + queryProvider.performScheduledUpdates(graph); } } session.writeSupport.clearMetadata();