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

in evaluators for type Double does not work with executable model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.26.0.Final, 7.31.0.Final
    • core engine
    • 2020 Week 01-03 (from Dec 30)
    • Hide

      run attached reproducer by mvn clean test

      Show
      run attached reproducer by mvn clean test
    • 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
    • NEW
    • 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.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-hmiura Hiroko Miura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: