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

in evaluators for type Double does not work with executable model

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.26.0.Final, 7.31.0.Final
    • Fix Version/s: None
    • Component/s: core engine
    • Labels:
    • Sprint:
      2020 Week 01-03 (from Dec 30)
    • Steps to Reproduce:
      Hide

      run attached reproducer by mvn clean test

      Show
      run attached reproducer by mvn clean test
    • Workaround Description:
      Hide

      modify problematic in evaluator like

      f : Fact( doubleVal in ( 100.0, 200.0, 300.0 ) )

      i.e. use double value expression instead of int value expression

      Show
      modify problematic in evaluator like f : Fact( doubleVal in ( 100.0, 200.0, 300.0 ) ) i.e. use double value expression instead of int value expression
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The constraint like the following does not match when using executable model.

      rule "Double nnn"
          when
              f : Fact( doubleVal in ( 100, 200, 300 ) )
          then
             ...
      end
      

      This rule can fire if executable model is not used.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  hiroko Hiroko Miura
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: