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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.19, 2.1.13
    • Component/s: JSR-314, JSR-344
    • Labels:
      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

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment