This issue has been created
There are 6 updates.
 
 
Inline Table LiveData / cid:jira-generated-image-avatar-1a02ef5d-eb86-4a72-bc5a-f749a9991150 XLIT-13 Closed

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6056b440-2fd3-40ac-995e-4bc8e842e49a Dorian Ouakli created this issue on 25/Mar/25 13:11
 
Summary: Comparison method violates its general contract when sorting column has some empty cells
Issue Type: cid:jira-generated-image-avatar-1a02ef5d-eb86-4a72-bc5a-f749a9991150 Bug
Assignee: Unassigned
Attachments: image-2025-03-25-13-07-07-107.png, image-2025-03-25-13-09-05-028.png
Created: 25/Mar/25 13:11
Priority: cid:jira-generated-image-static-major-5b4cdd33-59e6-4702-b73b-ab3171278e5f Major
Reporter: Dorian Ouakli
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.

 
 

6 updates

 
cid:jira-generated-image-avatar-6056b440-2fd3-40ac-995e-4bc8e842e49a Changes by Dorian Ouakli on 25/Mar/25 13:16
 
Fix Version: 0.0.9
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Dorian Ouakli
Resolution: Fixed
Status: Open Closed