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

Rule Inheritance fired the sub rule even the condition doen't match

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: 6.1.0.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      There are a work arround by using <from $fact> into a sub rule to avoid firing this one.

      Show
      There are a work arround by using <from $fact> into a sub rule to avoid firing this one.

      Description

      You can find the attached a simple maven project that shows this error.
      You can run ExampleDrools class as main java application.

      The sub rules are fired even if the condition is not matched.
      There are a work arround by using <from $fact> into a sub rule to avoid firing this one.

      This simple project shows the failed and work arround test.

        Attachments

          Activity

            People

            Assignee:
            dsotty Davide Sottara (Inactive)
            Reporter:
            jyacine Yacine Jaber (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: