Author: deepak
Date: Sat Mar 21 11:52:23 2015
New Revision: 1668246
URL:
http://svn.apache.org/r1668246Log:
Applied patch from jira issue OFBIZ-4020 - Sign up for a contact list always redirects to the main ecommerce page
Thanks Eric for reporting the issue, thanks Eric and Arun Patidar for providing the patch.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml?rev=1668246&r1=1668245&r2=1668246&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/controller.xml Sat Mar 21 11:52:23 2015
@@ -1326,20 +1326,20 @@ under the License.
<request-map uri="signUpForContactList">
<security https="false" auth="false"/>
<event type="service" invoke="signUpForContactList"/>
- <response name="success" type="view" value="main"/>
- <response name="error" type="view" value="main"/>
+ <response name="success" type="view-last"/>
+ <response name="error" type="view-last"/>
</request-map>
<request-map uri="unsubscribeContactListParty">
<security https="false" auth="false"/>
<event type="service" invoke="unsubscribeContactListParty"/>
- <response name="success" type="view" value="main"/>
- <response name="error" type="view" value="main"/>
+ <response name="success" type="view-last"/>
+ <response name="error" type="view-last"/>
</request-map>
<request-map uri="unsubscribeContactListPartyContachMech">
<security https="false" auth="false"/>
<event type="service" invoke="unsubscribeContactListPartyContachMech"/>
- <response name="success" type="view" value="main"/>
- <response name="error" type="view" value="main"/>
+ <response name="success" type="view-last"/>
+ <response name="error" type="view-last"/>
</request-map>
<request-map uri="contactListOptOut" track-serverhit="false" track-visit="false">
<security https="false" auth="false"/>