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
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Adnan Durrani [ adnan.durrani ] |
| Fix Version/s | 1.6DR#4 [ 10060 ] | |
| Assignee Priority | P1 | |
| Affects Version/s | 1.6DR#3 [ 10050 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 1.6 [ 10031 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P1 | |
| Assignee | Adnan Durrani [ adnan.durrani ] |
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.