You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/04/07 23:54:13 UTC

svn commit: r526491 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java

Author: lektran
Date: Sat Apr  7 14:54:12 2007
New Revision: 526491

URL: http://svn.apache.org/viewvc?view=rev&rev=526491
Log:
Changed saveUpdatedCartToOrder to call the new cancelOrderItemNoActions service so that we can avoid recreateOrderAdjustments altogether which doesn't appear to be necessary when using updateApprovedOrderItems
There's still a few other problems to resolve (like multiple order change notifications being sent) but this should at least resolve OFBIZ-431

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?view=diff&rev=526491&r1=526490&r2=526491
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Sat Apr  7 14:54:12 2007
@@ -3283,7 +3283,7 @@
                 cancelPromoCtx.put("userLogin", userLogin);
                 Map cancelResp = null;
                 try {
-                    cancelResp = dispatcher.runSync("cancelOrderItem", cancelPromoCtx);
+                    cancelResp = dispatcher.runSync("cancelOrderItemNoActions", cancelPromoCtx);
                 } catch (GenericServiceException e) {
                     Debug.logError(e, module);
                     throw new GeneralException(e.getMessage());