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 2013/05/31 11:34:17 UTC
svn commit: r1488136 - in /ofbiz/branches/release10.04: ./
applications/order/webapp/ordermgr/WEB-INF/controller.xml
Author: jleroux
Date: Fri May 31 09:34:16 2013
New Revision: 1488136
URL: http://svn.apache.org/r1488136
Log:
"Applied fix from trunk for revision: 1488127 "
------------------------------------------------------------------------
r1488127 | jleroux | 2013-05-31 10:27:48 +0200 (ven., 31 mai 2013) | 10 lines
A patch from Ankit Jain for "User is redirected to showcart page when any error comes on checkout page." https://issues.apache.org/jira/browse/OFBIZ-5206
On checkout page if any error comes it redirects user back to showcart page with an error message.
Expected : Error should be shown on the same page.
To reproduce the issue,
Goto OrderEntry -> Add any product to cart -> click on Quick finalize order now select shipping address & shipping method but don't select any payment option and now click on "Continue to Final Order Review" link. You will be redirected to showcart page and with a error message. "Please select a method of payment."
And expected behaviour is to show the error message on the same checkout page.
------------------------------------------------------------------------
Modified:
ofbiz/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1488127
Modified: ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml?rev=1488136&r1=1488135&r2=1488136&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml (original)
+++ ofbiz/branches/release10.04/applications/order/webapp/ordermgr/WEB-INF/controller.xml Fri May 31 09:34:16 2013
@@ -729,7 +729,7 @@ under the License.
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="setQuickCheckOutOptions"/>
<response name="success" type="request" value="calcShipping"/>
- <response name="error" type="request" value="orderentry"/>
+ <response name="error" type="view-last"/>
</request-map>
<request-map uri="createPostalAddressAndPurpose">
<security https="true" auth="true"/>