Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2206

exists Foo() does not fire if facts inserted before rule

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.0.CR1
    • 5.0.1.FINAL
    • drools-core (expert)
    • None

    Description

      Facts of some type Foo are inserted into a StatefulKnowledgeSession, then a rule with LHS exists Foo() is added and fireAllRules() is called, but the rule does not fire.

      If the same is done with the FOP-equivalent rule containing CE not(not Foo()), the rule fires.

      Attachments

        1. RuleTester.java
          2 kB
        2. test1.drl
          0.4 kB
        3. test2.drl
          0.2 kB

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            laune Wolfgang Laun (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty