Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1050

Incorrect marshalling of BigDecimal output variables in DMN

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.5.0.GA
    • Fix Version/s: 7.5.0.GA
    • Component/s: Kie-Server
    • Labels:
      None
    • Environment:
      • JSON marshaller
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide
      Show
      Remove assume from https://github.com/kiegroup/droolsjbpm-integration/pull/1884/files#diff-f61f1db49c4f42b3a46238cf2c3c591fR69 Run "testDMNwithPMMLScorecard" Test will fail with following error: org.junit.ComparisonFailure: expected:<41.34 [5] > but was:<41.34 [499999999999886313162278383970] > at org.kie.server.integrationtests.dmn.DMNPMMLIntegrationTest.testDMNwithPMMLScorecard(DMNPMMLIntegrationTest.java:85)
    • Story Points:
      3
    • Sprint:
      2019 Week 32-34

      Description

      BigDecimal output values from DMN evaluation are not marhalled correctly by JSON marshaller. Values are slightly different from correct outputs. See reproducer: https://github.com/kiegroup/droolsjbpm-integration/pull/1884/files#diff-f61f1db49c4f42b3a46238cf2c3c591fR69 Other marshallers seems working fine.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tari_manga Matteo Mortari
                Reporter:
                jpetrlik Jiri Petrlik
                Tester:
                Jiri Petrlik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: