commit | 966c89d51c5220877271040618d171c4a6f83046 | [log] [tgz] |
---|---|---|
author | Francesco Chicchiriccò <ilgrosso@apache.org> | Wed Sep 01 14:24:17 2021 +0200 |
committer | Francesco Chicchiriccò <ilgrosso@apache.org> | Wed Sep 01 14:25:47 2021 +0200 |
tree | eb255fa67941fd4364424235ecfb6c2686945b86 | |
parent | 21d4bc556281e975d2542e5280c7e58668a8f802 [diff] |
Fixing after Flowable upgrade - see https://forum.flowable.org/t/postgresql-cannot-commit-when-autocommit-is-enabled/8343
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 @@ } conf.setEnableSafeBpmnXml(true); conf.setCustomFormTypes(List.of(new DropdownFormType(null), new PasswordFormType())); + conf.setDisableEventRegistry(true); return conf.buildProcessEngine(); }