Uploaded image for project: 'Inline Table LiveData'
  1. Inline Table LiveData
  2. XLIT-13

Comparison method violates its general contract when sorting column has some empty cells

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.0.9
    • None
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The comparison method does not give a total order when there are empty cells in the sorted column, breaking the sorting.

       

      Steps to reproduce:

      Expected result:

      The table is sorted in descending order of values for `Column A`, using `id` as a fallback when the values for `Column A` are equal.

       

      Actual result:

      The query fails with a "IllegalArgumentException: Comparison method violates its general contract!" error message.

      Attachments

        Activity

          People

            douakli Dorian Ouakli
            douakli Dorian Ouakli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: