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:49:53 UTC

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

Leonardo Uribe created MYFACES-3763:
---------------------------------------

             Summary: 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


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