ICEfaces
  1. ICEfaces
  2. ICE-9569

ace:dataTable - Sorting/Filtering Issues When Swapping Data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces3/trunk revision# 37781, EE-3.3.0.GA Maintenance Branch, Icefaces 4 trunk.
    • Assignee Priority:
      P3

      Description

      Test application is located at: iceads1/Public/QA/JIRAs/ICE-9569.war

      There are issues when swapping the backing data of the table when sorting and/or filtering are applied.

      Filtering Issue:
      The data set that is shown after swapping the data is always one step behind. Once filtered, swapping the data the first time doesn't appear to do anything visually but the data has actually swaped in the back end. Swapping the data again makes it appear the data has swapped correctly but it is actually still one swap behind. If you remove the filter it will show the correct data.

      To reproduce:
      1) Deploy test app
      2) Type a character into one of the filter fields
      3) Click 'Swap Data'. This first click will appear to do nothing but the data has actually swapped in the bean.
      4) Click 'Swap Data' again. This time the data appears to swap but it is actually the data set that was supposed to be shown in the previous swap.
      5) Remove the filter. The correct data is shown (the opposite to what is shown when filtering is applied).

      Sorting:
      There are no issues with the data actually swapping when sorting but the sorting does not get applied to the newly swapped data.

      To reproduce:
      1) Deploy test app
      2) Sort one of the columns into a new order
      3) Click 'Swap Data'. The sorting that was previously applied will not carry over to the new data set.

        Activity

        Cruz Miraback created issue -
        Cruz Miraback made changes -
        Field Original Value New Value
        Description There are issues when swapping the backing data of the table when sorting and/or filtering are applied.

        Filtering Issue:
        The data set that is shown after swapping the data is always one step behind. Once filtered, swapping the data the first time doesn't appear to do anything visually but the data has actually swaped in the back end. Swapping the data again makes it appear the data has swapped correctly but it is actually still one swap behind. If you remove the filter it will show the correct data.

        To reproduce:
        1) Deploy test app
        2) Type a character into one of the filter fields
        3) Click 'Swap Data'. This first click will appear to do nothing but the data has actually swapped in the bean.
        4) Click 'Swap Data' again. This time the data appears to swap but it is actually the data set that was supposed to be shown in the previous swap.
        5) Remove the filter. The correct data is shown (the opposite to what is shown when filtering is applied).

        Sorting:
        There are no issues with the data actually swapping when sorting but the sorting does not get applied to the newly swapped data.

        To reproduce:
        1) Deploy test app
        2) Sort one of the columns into a new order
        3) Click 'Swap Data'. The sorting that was previously applied will not carry over to the new data set.
        Test application is located at: iceads1/Public/QA/JIRAs/ICE-9569.war

        There are issues when swapping the backing data of the table when sorting and/or filtering are applied.

        Filtering Issue:
        The data set that is shown after swapping the data is always one step behind. Once filtered, swapping the data the first time doesn't appear to do anything visually but the data has actually swaped in the back end. Swapping the data again makes it appear the data has swapped correctly but it is actually still one swap behind. If you remove the filter it will show the correct data.

        To reproduce:
        1) Deploy test app
        2) Type a character into one of the filter fields
        3) Click 'Swap Data'. This first click will appear to do nothing but the data has actually swapped in the bean.
        4) Click 'Swap Data' again. This time the data appears to swap but it is actually the data set that was supposed to be shown in the previous swap.
        5) Remove the filter. The correct data is shown (the opposite to what is shown when filtering is applied).

        Sorting:
        There are no issues with the data actually swapping when sorting but the sorting does not get applied to the newly swapped data.

        To reproduce:
        1) Deploy test app
        2) Sort one of the columns into a new order
        3) Click 'Swap Data'. The sorting that was previously applied will not carry over to the new data set.
        Ken Fyten made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Ken Fyten made changes -
        Assignee Nils Lundquist [ nils.lundquist ] Arturo Zambrano [ artzambrano ]
        Assignee Priority P2 [ 10011 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.0.BETA [ 10770 ]
        Liana Munroe made changes -
        Environment ICEfaces3/trunk revision# 37781 ICEfaces3/trunk revision# 37781, EE-3.3.0.GA Maintenance Branch, Icefaces 4 trunk.
        Liana Munroe made changes -
        Affects Version/s EE-3.3.0.GA_P01 [ 11174 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Judy Guglielmin made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Priority P2 [ 10011 ] P3 [ 10012 ]
        Security Private [ 10001 ]
        Judy Guglielmin made changes -
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Judy Guglielmin made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: