Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2019 Week 23-25
    • Story Points:
      1
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When beta joining two fields with a BigDecimal or BigInteger field, if a field is assigned as a binding the drools-model-compiler fails the compilation.

      "import " + Result.class.getCanonicalName() + ";" +
      "import " + Person.class.getCanonicalName() + ";" +
      "rule R when\n" +
      " $r : Result()\n" +
      " $markV : Person(name == \"Mark\", $markMoney : money)\n" +
      " $richerV : Person(name != \"Mark\", money > $markMoney)\n" +
      "then\n" +
      " $r.setValue($richerV.getName() + \" is richer than \" + $markV.getName());\n" +
      "end";

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  volothamp Luca Molteni
                  Reporter:
                  volothamp Luca Molteni
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: