[
https://issues.jboss.org/browse/DROOLS-1455?page=com.atlassian.jira.plugi...
]
Edson Tirelli commented on DROOLS-1455:
---------------------------------------
Good catch, java Period class (used for 'Years and Months Duration') does not
implement Comparable<Period>, but java Duration class does implement
Comparable<Duration>.
I will add code to specifically handle Period comparisons.
ClassCastException when using yearMonthDuration in decision table
-----------------------------------------------------------------
Key: DROOLS-1455
URL:
https://issues.jboss.org/browse/DROOLS-1455
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Mélanie Gauthier
Assignee: Edson Tirelli
Attachments: yearMonthDuration.dmn
Trying to run the attached example, a ClasCastException error is logged. dayTimeDuration
works fine.
A Period object is put in the context, created using
BuiltInType feelType = (BuiltInType) BuiltInType.determineTypeFromName(type);
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)