Author: akashjain
Date: Sat Nov 25 04:25:36 2017
New Revision: 1816259
URL:
http://svn.apache.org/viewvc?rev=1816259&view=revLog:
Fixed: Issue in redirection while creating a new party group, applied patch from jira issue (OFBIZ-9914)
Also fixed same issue for Create Employee functionality.
Thanks: Chandrashekhar Dhakad for reporting the issue and Yogesh Naroliya for providing the patch.
Modified:
ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=1816259&r1=1816258&r2=1816259&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Sat Nov 25 04:25:36 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-noparam" value="viewprofile"/>
+ <response name="success" type="request-redirect" value="viewprofile">
+ <redirect-parameter name="partyId"/>
+ </response>
<response name="error" type="view" value="NewEmployee"/>
</request-map>
@@ -384,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-noparam" 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">