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

Even after modify, non-matching rule is fired again when modified facts are provided by "from"

XMLWordPrintable

    • 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31)
    • 4
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      • Sudoku example doesn't work since Drools 7.60.0.Final. With "Simple" example, 1st "Step" puts one number. Then, next "Step" wouldn't make change.
      • The problem happens in PhreakFromNode.unlinkCreatedHandles(). This method calls RightTupleImpl.unlinkFromRightParent() but it breaks the factHandle's linkedTuples because rightTuples created by PhreakFromNode are not properly linked with the factHandle.
      • the factHandle's linkedTuples becomes empty. It will fail to delete tuples (through PropagationEntry.Update.execute) when the fact is modified.

      Acceptance Criteria:

      • Run the added unit tests successful

      Out of Scope:

      • Sudoku example itself should be verified and re-added to example GUI by DROOLS-7191

      Additional Information:

      N/A

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: