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

Unexpected rule fire by sharing From and pojo without hashCode/equals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.7.0.Final
    • core engine

    Description

      Under the conditions:

      • "from" clause with multiple rules
      • calling update()
      • Pojo doesn't implement hashCode/equals (to be precise, only hashCode() in Child object seems to matter)

      A rule is activated/fired unexpectedly.

      Please see Unit test for details.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: