ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibr...@apache.org
Subject svn commit: r608285 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
Date Wed, 02 Jan 2008 23:55:24 GMT
Author: bibryam
Date: Wed Jan  2 15:54:53 2008
New Revision: 608285

URL: http://svn.apache.org/viewvc?rev=608285&view=rev
Log:
Fixed a bug, that cause error during order creation from existing order with more than one
ship groups.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java?rev=608285&r1=608284&r2=608285&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java Wed
Jan  2 15:54:53 2008
@@ -1894,7 +1894,7 @@
             return null;
         }
 
-        if (shipInfo.size() == 0) {
+        if (shipInfo.size() == idx) {
             CartShipInfo csi = new CartShipInfo();
             csi.orderTypeId = getOrderType();
             shipInfo.add(csi);



Mime
View raw message