Author: jleroux
Date: Tue Nov 27 11:28:13 2018
New Revision: 1847531

URL: http://svn.apache.org/viewvc?rev=1847531&view=rev
Log:
"Applied fix from plugins for revision: 1847530  " 
------------------------------------------------------------------------
r1847530 | jleroux | 2018-11-27 12:27:39 +0100 (mar. 27 nov. 2018) | 12 lignes

Reverted: User should be redirected to view cart page after adding the product 
from compare product screen
(OFBIZ-10667)

Revert r1847478

There was a problem with this fix. It changes the behaviour of additem when you 
add an item from the main or another page.

The behaviour is defined by the "Always View Cart After Adding An Item." 
checkbox in the cart view.

------------------------------------------------------------------------

Modified:
    ofbiz/ofbiz-plugins/branches/release17.12/   (props changed)
    
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/webapp/ecommerce/WEB-INF/controller.xml

Propchange: ofbiz/ofbiz-plugins/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 27 11:28:13 2018
@@ -11,4 +11,4 @@
 /ofbiz/branches/multitenant20100310/plugins:921280-927264
 /ofbiz/branches/release13.07/plugins:1547657
 /ofbiz/ofbiz-framework/trunk:1836107
-/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249,1838381,1838816,1841650,1845558,1847272,1847346,1847398,1847528
+/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796,1837845,1837857,1838249,1838381,1838816,1841650,1845558,1847272,1847346,1847398,1847528,1847530

Modified: 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=1847531&r1=1847530&r2=1847531&view=diff
==============================================================================
--- 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
 (original)
+++ 
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
 Tue Nov 27 11:28:13 2018
@@ -240,7 +240,7 @@ under the License.
     <request-map uri="additem">
         <security https="false" auth="false"/>
         <event type="java" 
path="org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents" 
invoke="addToCart"/>
-        <response name="success" type="view" value="showcart" 
save-last-view="true"/>
+        <response name="success" type="view-last" value="showcart" 
save-last-view="true"/>
         <response name="survey" type="view" value="survey"/>
         <response name="product" type="view" value="product"/>
         <response name="viewcart" type="request-redirect-noparam" 
value="showcart"/>


Reply via email to