You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2021/09/01 12:26:01 UTC
[syncope] branch master updated: Fixing after Flowable upgrade - see
https://forum.flowable.org/t/postgresql-cannot-commit-when-autocommit-is-enabled/8343
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 966c89d Fixing after Flowable upgrade - see https://forum.flowable.org/t/postgresql-cannot-commit-when-autocommit-is-enabled/8343
966c89d is described below
commit 966c89d51c5220877271040618d171c4a6f83046
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Wed Sep 1 14:24:17 2021 +0200
Fixing after Flowable upgrade - see https://forum.flowable.org/t/postgresql-cannot-commit-when-autocommit-is-enabled/8343
---
.../syncope/core/flowable/support/DomainProcessEngineFactoryBean.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/support/DomainProcessEngineFactoryBean.java b/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/support/DomainProcessEngineFactoryBean.java
index 425fe87..122e391 100644
--- a/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/support/DomainProcessEngineFactoryBean.java
+++ b/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/support/DomainProcessEngineFactoryBean.java
@@ -87,6 +87,7 @@ public class DomainProcessEngineFactoryBean
}
conf.setEnableSafeBpmnXml(true);
conf.setCustomFormTypes(List.of(new DropdownFormType(null), new PasswordFormType()));
+ conf.setDisableEventRegistry(true);
return conf.buildProcessEngine();
}