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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.7.0.Final
    • Fix Version/s: None
    • Component/s: core engine
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: