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-Tag: v1.43.0~136^2~471 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F15%2F1815%2F3;p=simantics%2Fplatform.git Fix for empty cancelled write transactions leaving scheduled updates gitlab #15 Change-Id: I844dab6a59df56f2097a507bcd6b6d3ec75124b1 --- 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 91faa7198..efd82b6ca 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 @@ -297,6 +297,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();