Hi all, I've created a Jira issue 4582 for this problem.
Cheers Paul Foxworthy Martin Kreidenweis wrote: > > Hi, > >> I see Leon has discovered a similar issue for a different SECA in Jira >> 4469, >> but his patch uses global-commit rather than return. >> >> I'm happy to submit a patch, but would Leon's approach be better? > > I think "global-commit" is usually the way to go for async services > (usually > "global-commit-post-run" so that the service result is available to the > async service). > > A SECAs on "return" might also be called way before the actual DB commit > if the service in question > is called by another service or SECA that opened the transaction. > > Martin > -- View this message in context: http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-tp3896289p4087930.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.