myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3763) Navigation with <from-action> and <if> case should match both
Date Thu, 29 Aug 2013 02:51:51 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-3763.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.13
                   2.0.19
    
> Navigation with <from-action> and <if> case should match both
> -------------------------------------------------------------
>
>                 Key: MYFACES-3763
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3763
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314, JSR-344
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.19, 2.1.13
>
>
> There is an small bug in the algorithm that resolve navigation cases. For a rule like
this:
>   <navigation-rule>
>     <from-view-id>/a.jsp</from-view-id>
>     <navigation-case>
>         <from-action>go</from-action>
>         <if>#{test.true}</if>
>         <to-view-id>/b.jsp</to-view-id>
>     </navigation-case>
>   </navigation-rule>
> If the condition under the if is true it does not enforce the from-action, leading to
a wrong match under some conditions. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message