svn commit: r640309 - /ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r640309 - /ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml

jacopoc
Author: jacopoc
Date: Sun Mar 23 21:09:34 2008
New Revision: 640309

URL: http://svn.apache.org/viewvc?rev=640309&view=rev
Log:
Fixed bug that was causing the "main" screens to be visible w/o authentication
Thanks to Bilgim Ibryam for the patch OFBIZ-1717.

Modified:
    ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml

Modified: ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml?rev=640309&r1=640308&r2=640309&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml (original)
+++ ofbiz/trunk/framework/common/webcommon/WEB-INF/common-controller.xml Sun Mar 23 21:09:34 2008
@@ -74,14 +74,14 @@
     <request-map uri="setSessionLocale">
         <security https="true" auth="false"/>
         <event type="java" path="org.ofbiz.common.CommonEvents" invoke="setSessionLocale"/>
-        <response name="success" type="view" value="main"/>
-        <response name="error" type="view" value="main"/>
+        <response name="success" type="request" value="main"/>
+        <response name="error" type="request" value="main"/>
     </request-map>
     <request-map uri="setSessionTimeZone">
         <security https="true" auth="false"/>
         <event type="java" path="org.ofbiz.common.CommonEvents" invoke="setSessionTimeZone"/>
-        <response name="success" type="view" value="main"/>
-        <response name="error" type="view" value="main"/>
+        <response name="success" type="request" value="main"/>
+        <response name="error" type="request" value="main"/>
     </request-map>
     <request-map uri="LookupLocales">
         <security https="true" auth="false" />
@@ -96,8 +96,8 @@
     <request-map uri="setUserPreference">
         <security https="true" auth="true"/>
         <event type="java" path="org.ofbiz.common.preferences.PreferenceServices" invoke="setUserPreference"/>
-        <response name="success" type="view" value="main"/>
-        <response name="error" type="view" value="main"/>
+        <response name="success" type="request" value="main"/>
+        <response name="error" type="request" value="main"/>
     </request-map>
 
     <!-- View Mappings -->