In DMN Engine, output rules & literal expressions typed with date should return Java util date

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.13.0, 7.13.0-alpha2
    • Affects Version/s: None
    • Component/s: None
    • None

      Problem

      • Scala FEEL Engine returns Java 8 Date/Time types
      • The DMN Engine can only handle Java Util Date when typeRef=date

      Solution

      • Output Rule
        • When <output typeRef="date" /> is used, a Java Util Date is returned
      • Literal Expression
        • When <variable typeRef="date" /> is used, a Java Util Date is returned
      • Without a given typeRef (untyped), the value is directly passed from the FEEL to the DMN Engine without any type check/conversion

      Hint
      For the case that Java 8 Date/Time (or even Joda) is explicitly desired, CAM-11286 should be tackled to introduce new typeRef types

            Assignee:
            Nikola Koevski
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: