svn commit: r1139860 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

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

svn commit: r1139860 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCart.java

doogie-3
Author: doogie
Date: Sun Jun 26 18:08:10 2011
New Revision: 1139860

URL: http://svn.apache.org/viewvc?rev=1139860&view=rev
Log:
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()) {