Author: jleroux
Date: Tue Nov 27 11:18:44 2018
New Revision: 1847529

URL: http://svn.apache.org/viewvc?rev=1847529&view=rev
Log:
"Applied fix from plugins for revision: 1847528" 
------------------------------------------------------------------------
r1847528 | jleroux | 2018-11-27 12:18:07 +0100 (mar. 27 nov. 2018) | 19 lignes

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

Currently user is navigating add item page instead of view cart page while 
adding product to cart from compare product screen. User gets stuck after 
navigating over add item page.

Steps to replicate the issue: 
 1. Go to eCommerce application.
 2. Click on add to compare button for the products - 
    Round Gizmo and Tiny Chrome Widget.
 3. Click on 'Compare Products' from right bar.
 4. Click on 'Add to cart' over compare product screen.

Expected behaviour : User should be redirected to view cart page instead 
of add item page.

Thanks: Ratnesh Upadhyay for report and Ritesh Kumar for the fix
------------------------------------------------------------------------

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:18:44 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
+/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

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=1847529&r1=1847528&r2=1847529&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:18:44 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-last" value="showcart" 
save-last-view="true"/>
+        <response name="success" type="view" 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