mendix / CommunityCommons

This module adds a number reusable Java methods to your project, which can be called from Microflows or custom Java actions.
Apache License 2.0
13 stars 57 forks source link

CommitInSeparateDatabaseTransaction fails for autocommitted object #138

Open WazzaaaaA2 opened 1 year ago

WazzaaaaA2 commented 1 year ago

When trying to commit an object that was previously autocommited, the java action throws an error. This is unexpected, please document in the JA or fix the issue.

image Object of type 'MyFirstModule.HttpMessage' with guid '8444249309133364' cannot be updated, as it does not exist anymore

Committing an object the normal way before the executing the JA does not result in an error, but neither in a comitted object.