When the sort parameter is empty (?sort=) it becomes a non-null, empty String.
The current logic does not handle this case properly when the handler method is annotated with SortDefault or SortDefaults.
I have provided the PR with the test case.
(If you want a specific target branch, then let me know. If you want to backport it to different branches then do so)
Ruben Dijkstra opened DATACMNS-753 and commented
When the sort parameter is empty (?sort=) it becomes a non-null, empty String.
The current logic does not handle this case properly when the handler method is annotated with SortDefault or SortDefaults.
I have provided the PR with the test case.
(If you want a specific target branch, then let me know. If you want to backport it to different branches then do so)
Proposed fix:
Issue Links:
Referenced from: pull request #138
Backported to: 1.11.1 (Gosling SR1), 1.10.3 (Fowler SR3)
The text was updated successfully, but these errors were encountered: