|
inter-app hyperlink generates incorrect url
------------------------------------------- Key: OFBIZ-3382 URL: https://issues.apache.org/jira/browse/OFBIZ-3382 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Nathan Liang Fix For: SVN trunk steps to reproduce: 1, defines a hyper link as the following in component projectmgr: <link url-mode="inter-app" target="/mytest/control/main" text="Create my test document" style="smallSubmit"> <parameter param-name="workEffortId"/> <parameter param-name="returnUrl" value="/projectmgr/control/EditTaskContents?workEffortId=${workEffortId}"/> </link> parameter "returnUrl" is the url that external app can return back. 2, defines a hyper link as the following in component mytest <section> <condition> <not> <if-empty field="returnUrl"/> </not> </condition> <widgets> <container> <link url-mode="inter-app" text="Back" target="${returnUrl}" style="smallSubmit"> </link> </container> </widgets> </section> 3. click generated url from component projectmgr to jump to component mytest, parameter "returnUrl" will be encoded as string: /projectmgr/control/EditTaskContents?workEffortId=10003 4, from component mytest, we have the incorrectly generated url http://localhost:8080/projectmgr/control/EditTaskContents?workEffortId=10003?externalLoginKey=xxxxxxxx, two "?" characters in the generated url, can not go back the task screen in projectmgr from that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Liang updated OFBIZ-3382: -------------------------------- Attachment: OFBIZ-3382.patch Patch. > inter-app hyperlink generates incorrect url > ------------------------------------------- > > Key: OFBIZ-3382 > URL: https://issues.apache.org/jira/browse/OFBIZ-3382 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Nathan Liang > Fix For: SVN trunk > > Attachments: OFBIZ-3382.patch > > > steps to reproduce: > 1, defines a hyper link as the following in component projectmgr: > <link url-mode="inter-app" target="/mytest/control/main" text="Create my test document" style="smallSubmit"> > <parameter param-name="workEffortId"/> > <parameter param-name="returnUrl" value="/projectmgr/control/EditTaskContents?workEffortId=${workEffortId}"/> > </link> > parameter "returnUrl" is the url that external app can return back. > 2, defines a hyper link as the following in component mytest > <section> > <condition> > <not> > <if-empty field="returnUrl"/> > </not> > </condition> > <widgets> > <container> > <link url-mode="inter-app" text="Back" > target="${returnUrl}" style="smallSubmit"> > </link> > </container> > </widgets> > </section> > 3. click generated url from component projectmgr to jump to component mytest, parameter "returnUrl" will be encoded as string: /projectmgr/control/EditTaskContents?workEffortId=10003 > 4, from component mytest, we have the incorrectly generated url http://localhost:8080/projectmgr/control/EditTaskContents?workEffortId=10003?externalLoginKey=xxxxxxxx, two "?" characters in the generated url, can not go back the task screen in projectmgr from that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
