You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ak...@apache.org on 2017/11/25 04:45:30 UTC

svn commit: r1816260 - /ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml

Author: akashjain
Date: Sat Nov 25 04:45:30 2017
New Revision: 1816260

URL: http://svn.apache.org/viewvc?rev=1816260&view=rev
Log:
Applied fix from trunk for revision: 1816259
===

Fixed: Issue in redirection while creating a new party group, applied patch from jira issue (OFBIZ-9914)

Also fixed same issue for Create Employee and Preson functionality.

Thanks: Chandrashekhar Dhakad for reporting the issue and Yogesh Naroliya for providing the patch.

Modified:
    ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml

Modified: ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=1816260&r1=1816259&r2=1816260&view=diff
==============================================================================
--- ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml (original)
+++ ofbiz/branches/release16.11/applications/party/webapp/partymgr/WEB-INF/controller.xml Sat Nov 25 04:45:30 2017
@@ -360,7 +360,9 @@ under the License.
     <request-map uri="createEmployee">
         <security https="true" auth="true"/>
         <event type="simple" path="component://party/minilang/user/UserEvents.xml" invoke="createEmployee"/>
-        <response name="success" type="request-redirect" value="viewprofile"/>
+        <response name="success" type="request-redirect" value="viewprofile">
+            <redirect-parameter name="partyId"/>
+        </response>
         <response name="error" type="view" value="NewEmployee"/>
     </request-map>
 
@@ -368,7 +370,9 @@ under the License.
     <request-map uri="createPerson">
         <security https="true" auth="true"/>
         <event type="service" path="" invoke="createPerson"/>
-        <response name="success" type="request-redirect" value="viewprofile"/>
+        <response name="success" type="request-redirect" value="viewprofile">
+            <redirect-parameter name="partyId"/>
+        </response>
         <response name="error" type="view" value="EditPerson"/>
     </request-map>
     <request-map uri="updatePerson">
@@ -382,7 +386,9 @@ under the License.
     <request-map uri="createPartyGroup">
         <security https="true" auth="true"/>
         <event type="service" path="" invoke="createPartyGroup"/>
-        <response name="success" type="request-redirect" value="viewprofile"/>
+        <response name="success" type="request-redirect" value="viewprofile">
+            <redirect-parameter name="partyId"/>
+        </response>
         <response name="error" type="view" value="EditPartyGroup"/>
     </request-map>
     <request-map uri="updatePartyGroup">