Tibor Zimányi created DROOLS-1671:
-------------------------------------
Summary: Wrong months handling in Period FEEL expressions
Key: DROOLS-1671
URL:
https://issues.jboss.org/browse/DROOLS-1671
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.1.0.Final
Reporter: Tibor Zimányi
Assignee: Tibor Zimányi
Fix For: 7.2.0.Final
When handling Periods in InfixOpNode [1], there is getMonths() method used, which returns
just months part of the Period. There should be call to toTotalMonths() so also years are
incorporated in the result. I will provide PR for this.
[1]
https://github.com/kiegroup/drools/blob/a631144cf7c5854775253ef619dd72040...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)