You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2014/07/28 15:09:50 UTC
svn commit: r1614019 - /ofbiz/trunk/applications/order/servicedef/secas.xml
Author: jacopoc
Date: Mon Jul 28 13:09:50 2014
New Revision: 1614019
URL: http://svn.apache.org/r1614019
Log:
OFBIZ-5692 Wrong eca event set on changeOrderStatus and updateReturnStatusFromReceipt; thanks to Deepak Dixit for the help in testing the fix.
Modified:
ofbiz/trunk/applications/order/servicedef/secas.xml
Modified: ofbiz/trunk/applications/order/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?rev=1614019&r1=1614018&r2=1614019&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/secas.xml Mon Jul 28 13:09:50 2014
@@ -88,7 +88,7 @@ under the License.
<action service="releaseOrderPayments" mode="sync"/>
<action service="processRefundReturnForReplacement" mode="sync"/>
</eca>
- <eca service="changeOrderStatus" event="global-commit" run-on-error="false">
+ <eca service="changeOrderStatus" event="global-commit-post-run" run-on-error="false">
<condition field-name="statusId" operator="equals" value="ORDER_COMPLETED"/>
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
<action service="createInvoiceFromOrder" mode="sync"/>
@@ -236,7 +236,7 @@ under the License.
<action service="processCreditReturn" mode="sync"/>
<action service="processRefundOnlyReturn" mode="sync"/>
</eca>
- <eca service="updateReturnStatusFromReceipt" event="global-commit">
+ <eca service="updateReturnStatusFromReceipt" event="global-commit-post-run">
<condition field-name="returnHeaderStatus" operator="equals" value="RETURN_RECEIVED"/>
<action service="addProductsBackToCategory" mode="sync"/>
<action service="processWaitReplacementReturn" mode="sync"/>