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
        Migration created issue -
        Hide
        Nils Lundquist added a comment - - edited

        Revision #31427
        Committed by nils.lundquist
        A minute ago
        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.

        Show
        Nils Lundquist added a comment - - edited Revision #31427 Committed by nils.lundquist A minute ago 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.
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Nils Lundquist [ nils.lundquist ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Fix Version/s 3.2 [ 10338 ]
        Affects Version/s 3.2.BETA1 [ 10360 ]
        Icefaces Administrator made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: