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

UIXIterator._fixupFirst is trying to fix the first if the first is < 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.0.1-core, 1.0.2-core, 1.2.1-core, 1.2.2-core
    • None
    • Archetype
    • None

    Description

      UIXIterator._fixupFirst has some logic to fix the first attribute. If the first attribute is != 0 there is some logic to scroll the dataModel to the end so that "first" row is available. This is extremely inefficient since the dataModel may have a large number of rows.

      This logic also does not account for the dataModel returning first < 0. If the first is < 0 the first should be assumed to be 0.

      Providing a patch so that if dataModel is returning first<0, the first is set to 0.

      Attachments

        1. trunk.patch
          0.8 kB
          Venkata Guddanti

        Activity

          People

            Unassigned Unassigned
            venkata.guddanti Venkata Guddanti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: