ICEfaces
  1. ICEfaces
  2. ICE-7560

MyFaces: ace:dataTable filter doesn't recover from "no-results" state without reset

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.RC1
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3, MyFaces 2.1.3, ace:dataTable, showcase sample
    • Assignee Priority:
      P1

      Description

      ace:dataTable showcase sample demo:
      Overview/Filtering:
      All browsers: When using the filter on multiple columns to the point of returning no results in the table, the dataTable will not re-populate until you remove ALL the filters (instead of just the one that caused the dataTable to return no results).

      Note that this works fine on Mojarra, but not on MyFaces.

        Issue Links

          Activity

          Hide
          Deryk Sinotte added a comment -

          I believe the change I made for http://jira.icefaces.org/browse/ICE-7561 may have fixed this one as well. Please verify when you get a chance.

          Show
          Deryk Sinotte added a comment - I believe the change I made for http://jira.icefaces.org/browse/ICE-7561 may have fixed this one as well. Please verify when you get a chance.
          Hide
          Nils Lundquist added a comment -

          Your change just removes all the caching from the component, so the cached filtered data set will be lost and constantly reevaluated. I suspect this is the source of your fix.

          Show
          Nils Lundquist added a comment - Your change just removes all the caching from the component, so the cached filtered data set will be lost and constantly reevaluated. I suspect this is the source of your fix.
          Hide
          Nils Lundquist added a comment -

          Resolved with state saving fixes in r26879

          Show
          Nils Lundquist added a comment - Resolved with state saving fixes in r26879
          Hide
          Deryk Sinotte added a comment -

          Re-opening this case as testing against ICEfaces-3.0.0.RC2 build 6 shows that this behaviour is back.

          Show
          Deryk Sinotte added a comment - Re-opening this case as testing against ICEfaces-3.0.0.RC2 build 6 shows that this behaviour is back.
          Hide
          Nils Lundquist added a comment -

          Revision #27088
          Committed by nils.lundquist

          ICE-7560 - Due to MyFaces UIData data model caching, the data model wasn't recreated from unfiltered data when doing subsequent filters (including removing a filter). MyFaces required a specific call to null the old data model to ensure a unfiltered one would be created.

          Show
          Nils Lundquist added a comment - Revision #27088 Committed by nils.lundquist ICE-7560 - Due to MyFaces UIData data model caching, the data model wasn't recreated from unfiltered data when doing subsequent filters (including removing a filter). MyFaces required a specific call to null the old data model to ensure a unfiltered one would be created.

            People

            • Assignee:
              Nils Lundquist
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: