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

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Judy Guglielmin made changes -
        Support Case References Suppor Case 14363:- https://icesoft.my.salesforce.com/5000g00001vT7JY
        Arturo Zambrano made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        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.
        Arturo Zambrano made changes -
        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
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P06 [ 13114 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: