ICEfaces
  1. ICEfaces
  2. ICE-11415

ice:dataTable, using varStatus with pagination throws IndexOutOfBoundsException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P05
    • Fix Version/s: EE-3.3.0.GA_P06
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      When using pagination and the varStatus attribute on ice:dataTable, there's an IndexOutOfBoundsException exception thrown when navigating to another page.

      The problem seems to be in the base class org.icefaces.impl.component.UISeriesBase probably not being aware that the whole table shouldn't be iterated when using pagination.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r52661: fix to avoid IndexOutOfBoundsException exception when using pagination and varStatus

        Committed this fix to http://dev.icesoft.com/svn/ossrepo/icefaces-ee/patches/icefaces-ee-3.3.0_P03-MPFSA-Build

        The 3.3 EE maintenance branch doesn't need this fix.

        Show
        Arturo Zambrano added a comment - r52661: fix to avoid IndexOutOfBoundsException exception when using pagination and varStatus Committed this fix to http://dev.icesoft.com/svn/ossrepo/icefaces-ee/patches/icefaces-ee-3.3.0_P03-MPFSA-Build The 3.3 EE maintenance branch doesn't need this fix.
        Hide
        Arturo Zambrano added a comment -

        Re-opening to fix the issue reported in the support case 14373, a similar exception occurs when using pagination, varStatus and ice:dataExporter.

        Show
        Arturo Zambrano added a comment - Re-opening to fix the issue reported in the support case 14373, a similar exception occurs when using pagination, varStatus and ice:dataExporter.
        Hide
        Arturo Zambrano added a comment -

        r52670: made list of cached varStatus instances as big as the total number of rows in the table, in order to avoid IndexOutOfBoundsException exceptions under different combinations of settings and when using ice.dataExporter

        Show
        Arturo Zambrano added a comment - r52670: made list of cached varStatus instances as big as the total number of rows in the table, in order to avoid IndexOutOfBoundsException exceptions under different combinations of settings and when using ice.dataExporter

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: