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

                 Key: TRINIDAD-93
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-93
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Archetype
    Affects Versions: 1.2.1-core, 1.0.1-core, 1.0.2-core, 1.2.2-core
            Reporter: Venkata Guddanti


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to