ICEfaces
  1. ICEfaces
  2. ICE-6944

Regression: Multiple dataPaginator for one dataTable issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, EE-2.0.0.GA, 2.0.2
    • Fix Version/s: 3.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All, JSF/ICEfaces 2.x
    • Assignee Priority:
      P1

      Description

      Scenario: Two dataPaginators are defined for one dataTable. One paginator is on the top of the table the other is on the bottom. Both paginators control the paging of the table and should show the same state.

      Issue: When these components are in their own container components (panelGrid/panelGroup), clicking on the page number buttons on the bottom paginator causes the top buttons to be come unresponsive. Clicking on the button arrow buttons does not have an effect on the top paginator. Once the top paginator is unresponsive, clicking on the bottom paginators arrow button restores the top paginators buttons.

      I found that when the top paginator is unresponsive an update is still being sent from the server, this update isn't updating the table. I also found that when the top paginator is unresponsive, both actionListener methods are called (top and bottom). Once the top paginators state is restored, only the one actionListener is called. I also noticed that when the top paginator is not responsive, the bottom paginator also calls both actionListener events. The only difference is that the bottom paginator still updates the table/paginators.

        Activity

        Hide
        Arran Mccullough added a comment -

        Test Case war build for Tomcat 6. Steps to reproduce:

        • Load app
        • Click on top paginator button for page 2, table moves the page 2
        • Click on the bottom < arrow button, moves table to page 1.
        • Click on the bottom paginator button for page 3, table moves the page 3.
        • Click on any top paginator button, table does not move.
        • Click on the bottom < arrow button, table moves the page 2.
        • Click on the top page 1 button, table moves the page 1.
        Show
        Arran Mccullough added a comment - Test Case war build for Tomcat 6. Steps to reproduce: Load app Click on top paginator button for page 2, table moves the page 2 Click on the bottom < arrow button, moves table to page 1. Click on the bottom paginator button for page 3, table moves the page 3. Click on any top paginator button, table does not move. Click on the bottom < arrow button, table moves the page 2. Click on the top page 1 button, table moves the page 1.
        Hide
        Arran Mccullough added a comment -

        This issue isn't a problem with ICEfaces 1.8.x.

        Show
        Arran Mccullough added a comment - This issue isn't a problem with ICEfaces 1.8.x.
        Hide
        Arran Mccullough added a comment -

        I've tested my test case with both ICEfaces 2.1.0 Beta2 and the latest trunk code. In both cases the issue is still seen.

        Show
        Arran Mccullough added a comment - I've tested my test case with both ICEfaces 2.1.0 Beta2 and the latest trunk code. In both cases the issue is still seen.
        Hide
        Arran Mccullough added a comment -

        Testing with the latest 3.0 trunk does not show this issue any more following the steps.

        Show
        Arran Mccullough added a comment - Testing with the latest 3.0 trunk does not show this issue any more following the steps.

          People

          • Assignee:
            Arran Mccullough
            Reporter:
            Arran Mccullough
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: