myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-772) Setting "First" to -1 makes UIXIterator scroll to the end
Date Tue, 16 Oct 2007 17:41:51 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Max Starets updated TRINIDAD-772:
---------------------------------

    Status: Patch Available  (was: Open)

> Setting "First" to -1 makes UIXIterator scroll to the end
> ---------------------------------------------------------
>
>                 Key: TRINIDAD-772
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-772
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.2-core
>            Reporter: Max Starets
>             Fix For: 1.2.3-core
>
>         Attachments: fixupFirst.patch
>
>
> 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 s et to 0.

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


Mime
View raw message