Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1671

Wrong months handling in Period FEEL expressions

XMLWordPrintable

    • 2017 Week 28-29
    • NEW
    • NEW

      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/a631144cf7c5854775253ef619dd720405123800/kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/InfixOpNode.java#L257

              tzimanyi@redhat.com Tibor Zimányi
              tzimanyi@redhat.com Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: