Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1830

UIXHierarchy.visitHierarchy() has a bad if statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-1
    • 1.2.14-core , 2.0.0-beta-1
    • None
    • None

    Description

      I have found some code in UIXHierarchy.visitHierarchy() where according to the code's indentation, a return true should happen only if the if statement is true.

      However, this if clause ends with a semicolon so regardless of whether the the clause is true, the return true will always happen.

      This ends up causing UIXHierarchy.visitHierarchy() to short circuit prematurely (and a call to UIXTree.visitChildren() to in turn short circuit visitation of the view).

      Attachments

        Activity

          People

            mattcooper Matt Cooper
            mattcooper Matt Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: