Load product dimension when and only when the product is created successfully -----------------------------------------------------------------------------
Key: OFBIZ-4469 URL: https://issues.apache.org/jira/browse/OFBIZ-4469 Project: OFBiz Issue Type: Bug Components: product Affects Versions: SVN trunk Reporter: Leon Priority: Minor Fix For: SVN trunk Service "loadType1ProductInProductDimension" is triggered by "createProduct" service on "commit" events in "async" mode. Sometimes, there're too much backend work to do after a product is created and before the whole transaction is commited, as other "sync" mode secas, transaction itself and so on. In such situation, the loadType1ProductInProductDimension service cannot get the product info because the new created product has not been truely commited yet, and then it will fail with error message "cannot found product" in log. Patch: use "global-commit" event instead of "commit" to resolve this problem. -- 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