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 2012/05/08 08:14:49 UTC
svn commit: r1335348 - in /ofbiz/branches/release12.04: ./
specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
Author: jleroux
Date: Tue May 8 06:14:49 2012
New Revision: 1335348
URL: http://svn.apache.org/viewvc?rev=1335348&view=rev
Log:
"Applied fix from trunk for revision: 1335347"
------------------------------------------------------------------------
r1335347 | jleroux | 2012-05-08 08:07:51 +0200 (mar., 08 mai 2012) | 5 lines
A patch from Ankit Jain "Continue shopping does not work" https://issues.apache.org/jira/browse/OFBIZ-4834
After submitting an order using quick checkout, when you want to add products from main page (using Continue shopping or not), at the 1st product you add you get directly to quick checkout and would have to get back to the main page to add another product
This was happening because we had used save-current-view="true" for "quickCheckout" request and in the addItem request we are using view-last that's why it was redirecting to quickCheckout after adding item.
------------------------------------------------------------------------
Modified:
ofbiz/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1335347
Modified: ofbiz/branches/release12.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=1335348&r1=1335347&r2=1335348&view=diff
==============================================================================
--- ofbiz/branches/release12.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/branches/release12.04/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Tue May 8 06:14:49 2012
@@ -244,7 +244,7 @@ under the License.
<request-map uri="additem">
<security https="false" auth="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCart"/>
- <response name="success" type="view-last" value="showcart"/>
+ <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" value="showcart"/>