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

Using BigDecimal with From Accumulate causes an "Error: argument type mismatch"

    Details

    • Sprint:
      2019 Week 29-31
    • Steps to Reproduce:
      Hide
      1. Import the attached project
      2. Go to the project and do Build and Deploy
      3. Fire all rules using the following request:
        curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json

      Where request.json is the file attached.

      Show
      Import the attached project Go to the project and do Build and Deploy Fire all rules using the following request: curl -X POST "http://localhost:8080/kie-server/services/rest/server/containers/instances/reproducer-02425606" -H "accept: application/json" -H "content-type: application/json" -d @request.json Where request.json is the file attached.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When written a rule that does a sum using ‘from accumulate’. The rule validates successfully. However, when trying to test it, is returned a very generic error message: Error: argument type mismatch.

        Gliffy Diagrams

          Attachments

          1. reproducer-02425606.zip
            57 kB
          2. request.json
            0.5 kB
          3. testSum.scenario
            2 kB

            Issue Links

              Activity

                People

                • Assignee:
                  volothamp Luca Molteni
                  Reporter:
                  roribeir Rodrigo Ribeiro
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: