Details
Description
This bug introduced in result of fixing of the following bug.
http://jira.icefaces.org/browse/ICE-1285
http://jira.icefaces.org/browse/ICE-1285
Issue Links
- blocks
-
ICE-1285 uiData.setRowIndex() being called for 0 index even if there is no data associated with the dataModel
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Due to the optimization the rowCount() method of CachedRowSetDataModel always return -1, as in order to get the total number of rows, entire CachedRowSet need to be scrolling through which is an expensive operation.
The
ICE-1285has a fix for "0" rowIndex, which uses the following expression (rowIndex <1) that is true for "-1" as well. So it has been fixed in -revision 13633.