ICEfaces
  1. ICEfaces
  2. ICE-8652

ace:dataTable - sortState restoration causes NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.BETA1
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      IF 3.2.Beta1

      Description


      Sort state restoration during a invalidated submit causes a null pointer exception because there is no sort state to restore.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31427 Thu Oct 11 13:53:45 MDT 2012 nils.lundquist ICE-8652 - Prevent sort state restoration from causing NPE. Sorting / filtering is applied without state alterations when the backing data model changes or on the first render of the data table. Should a validation failure occur in either case, restoration is no longer attempted as no changes have been made.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTableMeta.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: