Fixed: Issue in redirection while creating a new party group, applied patch from jira issue
Also fixed same issue for Create Employee functionality.
Thanks: Chandrashekhar Dhakad for reporting the issue and Yogesh Naroliya for providing the patch.
@@ -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">
