Author: doogie
Date: Sun Jun 26 18:08:10 2011
New Revision: 1139860
URL:
http://svn.apache.org/viewvc?rev=1139860&view=revLog:
FIX: When clearing the cart, also clear the attributes map
and orderAttributes list.
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=1139860&r1=1139859&r2=1139860&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 Sun Jun 26 18:08:10 2011
@@ -1376,6 +1376,8 @@ public class ShoppingCart implements Ite
this.contactMechIdsMap.clear();
this.internalOrderNotes.clear();
this.orderNotes.clear();
+ this.attributes.clear();
+ this.orderAttributes.clear();
// clear the additionalPartyRole Map
for (Map.Entry<String, List<String>> me : this.additionalPartyRole.entrySet()) {