ICEfaces
  1. ICEfaces
  2. ICE-1471

com.sun.rave.faces.data.CachedRowSetDataModel is causing none of the row to be rendered

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#3
    • Fix Version/s: 1.6DR#4, 1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      ice:dataTable + com.sun.rave.faces.data.CachedRowSetDataModel

      Description

      This bug introduced in result of fixing of the following bug.

      http://jira.icefaces.org/browse/ICE-1285



        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          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-1285 has 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.

          Show
          Adnan Durrani added a comment - 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-1285 has 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.

            People

            • Assignee:
              Unassigned
              Reporter:
              Adnan Durrani
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: