Author: jleroux
Date: Mon Oct 17 04:58:39 2011
New Revision: 1184999
URL:
http://svn.apache.org/viewvc?rev=1184999&view=revLog:
A patch from Leon with help from Martin
https://issues.apache.org/jira/browse/OFBIZ-4469"Load product dimension when and only when the product is created successfully"
Modified:
ofbiz/trunk/applications/product/servicedef/secas_olap.xml
Modified: ofbiz/trunk/applications/product/servicedef/secas_olap.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/secas_olap.xml?rev=1184999&r1=1184998&r2=1184999&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/secas_olap.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/secas_olap.xml Mon Oct 17 04:58:39 2011
@@ -22,10 +22,10 @@ under the License.
xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/service-eca.xsd">
<!-- dimension entities -->
- <eca service="createProduct" event="commit">
+ <eca service="createProduct" event="global-commit-post-run">
<action service="loadType1ProductInProductDimension" mode="async"/>
</eca>
- <eca service="updateProduct" event="commit">
+ <eca service="updateProduct" event="global-commit-post-run">
<action service="loadType2ProductInProductDimension" mode="async"/>
</eca>
</service-eca>