X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.procore%2Fsrc%2Ffi%2Fvtt%2Fsimantics%2Fprocore%2Finternal%2FTransactionToken.java;h=d5f5c4308903cdd6aee7d0a5c3dbed5ffe1f40a2;hp=753023641197617f87419e361e1f976f2f34688f;hb=72f8e583b6884a32f6731bf6f16cd6470a2b5c06;hpb=dc4ea7660e4a7fe9e9f8d0f23cdd53de9968b104 diff --git a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/TransactionToken.java b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/TransactionToken.java index 753023641..d5f5c4308 100644 --- a/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/TransactionToken.java +++ b/bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/TransactionToken.java @@ -213,12 +213,6 @@ public class TransactionToken implements GraphSession.Listener { else if (Type.Read == type) throw new ValidationException("Illegal transaction type."); // Note that even if we do cancel the cluster sets are not restored. - try { - session.getService(ClusterSetsSupport.class).save(); - } catch (Exception e) { - e.printStackTrace(); - Logger.defaultLogError("Failed to save cluster sets.", e); - } graphSession.undoContext.cancelCommit(); endTransaction(true); if (DEBUG)