loadSalesInvoiceFact should be post-run
--------------------------------------- Key: OFBIZ-4582 URL: https://issues.apache.org/jira/browse/OFBIZ-4582 Project: OFBiz Issue Type: Bug Components: accounting Affects Versions: SVN trunk Environment: r1204119 Reporter: Paul Foxworthy Priority: Minor See thread at http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html The loadSalesInvoiceFact service in applications/accounting/servicedef/secas_olap.xml is set to run asynchronously on (that is, before) a commit. The result is that the service may attempt to read an order that has not yet been committed. In the patch, the timing has been changed to global-commit-post-run to ensure the order has been committed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Foxworthy updated OFBIZ-4582: ---------------------------------- Attachment: OFBIZ-4582_setInvoiceStatus.patch > loadSalesInvoiceFact should be post-run > --------------------------------------- > > Key: OFBIZ-4582 > URL: https://issues.apache.org/jira/browse/OFBIZ-4582 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: r1204119 > Reporter: Paul Foxworthy > Priority: Minor > Labels: accounting, olap, seca > Attachments: OFBIZ-4582_setInvoiceStatus.patch > > > See thread at http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html > The loadSalesInvoiceFact service in applications/accounting/servicedef/secas_olap.xml is set to run asynchronously on (that is, before) a commit. The result is that the service may attempt to read an order that has not yet been committed. > In the patch, the timing has been changed to global-commit-post-run to ensure the order has been committed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4582. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 11.04 Release Branch 10.04 Release Branch 09.04 Assignee: Jacques Le Roux Thanks Paul, Your patch is in trunk r1206507 R11.04 r1206508 R10.04 r1206509 R09.04 r1206510 > loadSalesInvoiceFact should be post-run > --------------------------------------- > > Key: OFBIZ-4582 > URL: https://issues.apache.org/jira/browse/OFBIZ-4582 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: r1204119 > Reporter: Paul Foxworthy > Assignee: Jacques Le Roux > Priority: Minor > Labels: accounting, olap, seca > Fix For: Release Branch 09.04, Release Branch 10.04, Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4582_setInvoiceStatus.patch > > > See thread at http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html > The loadSalesInvoiceFact service in applications/accounting/servicedef/secas_olap.xml is set to run asynchronously on (that is, before) a commit. The result is that the service may attempt to read an order that has not yet been committed. > In the patch, the timing has been changed to global-commit-post-run to ensure the order has been committed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |