svn commit: r546748 - /ofbiz/trunk/applications/order/servicedef/secas.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r546748 - /ofbiz/trunk/applications/order/servicedef/secas.xml

jacopoc
Author: jacopoc
Date: Tue Jun 12 23:17:22 2007
New Revision: 546748

URL: http://svn.apache.org/viewvc?view=rev&rev=546748
Log:
As a temp fix, I've reverted the change I did in rev. 540479, because it was causing problems during order checkout under some special circumstances.
Now the processOrderPayments service is triggered only when updateOrderItems and appendOrderItem are run (as it was before rev. 540479).
I will return on this as soon as I have some time.

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?view=diff&rev=546748&r1=546747&r2=546748
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/secas.xml Tue Jun 12 23:17:22 2007
@@ -106,10 +106,22 @@
     </eca>
 
     <!-- order grand total -->
+    <!--
+    TODO: jacopoc: this is disabled for now, because it was causing problems during
+          order checkout under some special circumstances.
+          Now the processOrderPayments service is triggered only when updateOrderItems
+          and appendOrderItem are run (as it was before rev. 540479); this is a temp fix.
     <eca service="resetGrandTotal" event="return">
         <action service="processOrderPayments" mode="sync"/>
     </eca>
-    
+    -->
+    <eca service="updateOrderItems" event="return">
+        <action service="processOrderPayments" mode="sync"/>
+    </eca>
+    <eca service="appendOrderItem" event="return">
+        <action service="processOrderPayments" mode="sync"/>
+    </eca>
+
     <!-- order confirmation/notification email ECAs -->
     <eca service="sendOrderConfirmation" event="commit">
         <action service="createOrderNotificationLog" mode="sync"/>