Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.7.1
-
3.07
-
Description
IssueActionComparator class gets dates from two actions calling getTimePerformed() method. This method returns Date object, however not all implementations of IssueAction return an instance of java.util.Date class, some return java.sql.Timestamp. If Timestamp is returned it throws a ClassCastException when compared with Date as per its javadoc
The comparison needs to be modified in order to avoid this scenario.