You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/08/27 11:55:01 UTC
[jira] [Commented] (OFBIZ-9653) Issue while creating new person in
the party component
[ https://issues.apache.org/jira/browse/OFBIZ-9653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143088#comment-16143088 ]
Jacques Le Roux commented on OFBIZ-9653:
----------------------------------------
Yes that's weird. Normally request-redirect redirect also parameters, unlike request-redirect-noparam:
{code}
<xs:enumeration value="request-redirect">
<xs:annotation>
<xs:documentation>
Send a redirect down to the browser telling it to go to the new request.
Automatically redirect all current request parameters to the new request or only redirected parameters if specified.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="request-redirect-noparam">
<xs:annotation>
<xs:documentation>
Send a redirect down to the browser telling it to go to the new request.
No current request parameters are sent to the new request, nor redirected parameters if specified.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
{code}
Since you suggest (did not test but I guess it's OK)
- <response name="success" type="request-redirect" value="viewprofile"/>
+ <response name="success" type="request-redirect" value="viewprofile">
+ <redirect-parameter name="partyId"/>
+ </response>
{code}
It must be that request-redirect behaviour has changed :(
> Issue while creating new person in the party component
> ------------------------------------------------------
>
> Key: OFBIZ-9653
> URL: https://issues.apache.org/jira/browse/OFBIZ-9653
> Project: OFBiz
> Issue Type: Bug
> Reporter: Rubia Elza Joshep
> Assignee: Suraj Khurana
> Attachments: OFBIZ-9653.patch, screenshot-1.png
>
>
> Steps to regenerate:
> 1) Open link [https://demo-trunk.ofbiz.apache.org/webtools/control/main]
> 2) Go to party component.
> 2) Click on Create new person.
> 3) Fill in the mandatory fields and click on save button.
> Actual: Redirects to the view profile page https://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile with following description "party found with the partyId of:"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)