Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3763

Navigation with <from-action> and <if> case should match both

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.19, 2.1.13
    • JSR-314, JSR-344
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: