AthiraHari77 opened a new issue, #2260: URL: https://github.com/apache/incubator-kie-issues/issues/2260
The below mentioned testcases introduced by the PR [https://github.com/dmn-tck/tck/pull/717] fails. This ticket focuses on identifying the root cause of these and fixing them. {noformat} <testCase id="010"> <resultNode name="Implicit Conversions CE" type="decision"> <expected> <list> <item> <list> <item> <value xsi:type="xsd:decimal">1</value> </item> </list> </item> <item> <value xsi:type="xsd:decimal">2</value> </item> <item> <value xsi:type="xsd:dateTime">2000-12-01T00:00:00Z</value> </item> </list> </expected> </resultNode> </testCase> <testCase id="011"> <resultNode name="Implicit Conversions FUNCT" type="decision"> <expected> <list> <item> <list> <item> <value xsi:type="xsd:decimal">1</value> </item> </list> </item> <item> <value xsi:type="xsd:decimal">2</value> </item> <item> <value xsi:type="xsd:dateTime">2000-02-01T00:00:00Z</value> </item> </list> </expected> </resultNode> </testCase> {noformat} The expected result is *[[1], 2, 2000-12-01T00:00:00Z]* but what we get is *[[1], 2, 2000-12-01T00:00Z]* For the DateTime type we apply the below logic and the seconds value is getting truncated. {code:java} public static ZonedDateTime coerceDateTime(final LocalDate value) { return ZonedDateTime.of(value, LocalTime.of(0, 0, 0, 0), ZoneOffset.UTC); } {code} **Errors:** [ERROR] ERROR: FAILURE: 'Implicit Conversions CE' expected='[[1], 2, 2000-12-01T00:00:00Z]' but found='[[1], 2, 2000-12-01T00:00Z]' [ERROR] ERROR: FAILURE: 'Implicit Conversions FUNCT' expected='[[1], 2, 2000-02-01T00:00:00Z]' but found='[[1], 2, 2000-02-01T00:00Z]' -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
