Author: mor
Date: Thu Jul 23 09:56:14 2009
New Revision: 796993
URL: http://svn.apache.org/viewvc?rev=796993&view=rev
Log:
Applied fix from trunk for revision: 796992
Fix: Shipping method and sales tax are removed from cart when the cart is
modified.
Modified:
ofbiz/branches/release09.04/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
Modified:
ofbiz/branches/release09.04/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java?rev=796993&r1=796992&r2=796993&view=diff
==============================================================================
---
ofbiz/branches/release09.04/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
(original)
+++
ofbiz/branches/release09.04/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartHelper.java
Thu Jul 23 09:56:14 2009
@@ -775,7 +775,8 @@
}
}
} else {
- item.setQuantity(quantity, dispatcher,
this.cart);
+ item.setQuantity(quantity, dispatcher,
this.cart, true, false);
+ cart.setItemShipGroupQty(item,
quantity, 0);
}
} catch (CartItemModifyException e) {
errorMsgs.add(e.getMessage());