ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-277

AutoSortTable not sorting columns correctly when null values are present

    Details

    • Workaround Exists:
      Yes
    • Workaround Description:
      Set the bean accessor for the row to return a String and return an empty String when the Long is null.

      Description

      For columns with numeric (Long) values, the autoSortTable will not sort properly. For example, I have a column displaying an external system id (Long), but the id may not exist in all cases. In the case the id does not exist, a blank should be displayed. The sorting appears to fail when the value for id is null. It will work correctly when the value is 0, but 0 is not a valid id.

        Activity

        Marc Thomson created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Philip Breau added a comment -

        EE 1.8
        30792 3/15/12 9:51 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present

        EE 2
        30793 3/15/12 9:51 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present

        EE 3
        30791 3/15/12 9:47 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present

        Show
        Philip Breau added a comment - EE 1.8 30792 3/15/12 9:51 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present EE 2 30793 3/15/12 9:51 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present EE 3 30791 3/15/12 9:47 PM 1 philip.breau IPCK-277 AutoSortTable not sorting columns correctly when null values are present
        Philip Breau made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s EE-2.0.0.GA_P01 [ 10270 ]
        Fix Version/s EE-3.0.0.GA [ 10261 ]
        Fix Version/s EE-1.8.2.GA_P04 [ 10281 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Philip Breau
            Reporter:
            Marc Thomson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: