You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/01/09 17:06:57 UTC

svn commit: r1650583 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java

Author: jleroux
Date: Fri Jan  9 16:06:57 2015
New Revision: 1650583

URL: http://svn.apache.org/r1650583
Log:
Reverts r1646926 as I explained in "WebShoppingCart ignores session currency"  in https://issues.apache.org/jira/browse/OFBIZ-5767 and as stated Mridul at "missing request map for changing currency" https://issues.apache.org/jira/browse/OFBIZ-5767

This is only one part of the work (ie it's a WIP) because Jossip has some points in OFBIZ-5767

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

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java?rev=1650583&r1=1650582&r2=1650583&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartEvents.java Fri Jan  9 16:06:57 2015
@@ -946,7 +946,6 @@ public class ShoppingCartEvents {
             session.setAttribute("shoppingCart", cart);
         }
 
-        if (currencyUom == null) currencyUom = UtilHttp.getCurrencyUom(request);
         if (cart == null) {
             cart = new WebShoppingCart(request, locale, currencyUom);
             session.setAttribute("shoppingCart", cart);