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

Setting "First" to -1 makes UIXIterator scroll to the end

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3-core, 1.2.2-core
    • 1.0.4-core, 1.2.3-core
    • Components
    • None

    Description

      When "first" property is set to -1, UIXIterator assumes that the row is not available and scrolls to the end. The logic is there to handle cases when some records have been deleted and "first" points to an index >= rowCount. However, we should not be applying this logic to a negative "first". Instead, it should be just set to 0.

      The affected method is UIXIteratir._fixupFirst() (see provided patch)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            matzew Matthias Wessendorf
            mstarets Max Starets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment