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

Incorrect marshalling of BigDecimal output variables in DMN

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.5.0.GA
    • 7.5.0.GA
    • Kie-Server
    • None
      • JSON marshaller
    • 3
    • CR1
    • 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)
    • 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.

      Attachments

        Activity

          People

            mmortari@redhat.com Matteo Mortari
            jpetrlik@redhat.com Jiri Petrlik
            Jiri Petrlik Jiri Petrlik
            Jiri Petrlik Jiri Petrlik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: