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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: