You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/08/29 04:51:51 UTC

[jira] [Resolved] (MYFACES-3763) Navigation with and case should match both

     [ 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