[ 
https://issues.apache.org/jira/browse/WW-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009216#comment-13009216
 ] 

Dave Newton commented on WW-3595:
---------------------------------

Did you try renaming the "family" property as a sanity check? I find it 
difficult to believe that this is general behavior since I do this and have no 
such issues. That it seems to be pulling in an artifact name makes me wonder, 
but w/o access to the value stack it's impossible to help much.

> Unable to evaluate Long property in redirectAction
> --------------------------------------------------
>
>                 Key: WW-3595
>                 URL: https://issues.apache.org/jira/browse/WW-3595
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>            Reporter: Marwan Oweis
>
> Passing a Long property as part of a redirect results in strange behavior.
> For example, the following URL is generated:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=gov.nih.nci.coppa.po:po-web:war:3.4-SNAPSHOT
> instead of something like:
> https://trials-dev.nci.nih.gov/protected/family/curate/start.action?family.id=45435
> struts.xml:
>         <action name="family/curate/*" 
> class="gov.nih.nci.po.web.curation.CurateFamilyAction" method="{1}">
>             <interceptor-ref name="poSearchPerMethodValidationStack" />
>             <result 
> name="success">/WEB-INF/jsp/curate/family/family.jsp</result>
>             <result 
> name="input">/WEB-INF/jsp/curate/family/family.jsp</result>
>             <result name="list">/protected/search/family/list.action</result>
>         </action>
>         <action name="family/create/*" 
> class="gov.nih.nci.po.web.create.CreateFamilyAction" method="{1}">
>             <interceptor-ref name="poSearchPerMethodValidationStack" />
>             <result name="success" 
> type="redirectAction">family/curate/start?family.id=${family.id}</result>
>             <result 
> name="input">/WEB-INF/jsp/curate/family/family.jsp</result>
>         </action>
> Where, Family.java:
> public class Family  {
>     private Long id;
>     ...
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to