[
https://issues.apache.org/jira/browse/VELTOOLS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed VELTOOLS-136.
-----------------------------------
> SortTool fails on null values
> -----------------------------
>
> Key: VELTOOLS-136
> URL: https://issues.apache.org/jira/browse/VELTOOLS-136
> Project: Velocity Tools
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Canny
> Assignee: Claude Brisson
> Priority: Major
> Fix For: 3.0
>
>
> The sort tool uses "comparison = right.compareTo(null);" on line 276. That
> can fail in the case the right object compareTo() method can
> not handle null params. I.e. java.util.Date can not handle that, so the sort
> result is empty. The sort tool should support sorting of collections with
> null values.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]