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

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Assignee Priority P2
          Assignee Nils Lundquist [ nils.lundquist ]
          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.
          Deryk Sinotte made changes -
          Link This issue duplicates ICE-7574 [ ICE-7574 ]
          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
          Nils Lundquist made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 3.0.RC2 [ 10313 ]
          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.
          Deryk Sinotte made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.0.RC2 [ 10313 ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2 P1
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27088 Wed Jan 04 11:42:13 MST 2012 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.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
          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.
          Nils Lundquist made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: