[jboss-jira] [JBoss JIRA] (DROOLS-2557) Unexpected rule fire by sharing From and pojo without hashCode/equals

Mario Fusco (JIRA) issues at jboss.org
Tue May 22 05:51:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-2557.
---------------------------------
    Resolution: Done


Fixed by https://github.com/kiegroup/drools/commit/504cb2f5041992830168ca75fb065fff2ea5cb4b

> Unexpected rule fire by sharing From and pojo without hashCode/equals
> ---------------------------------------------------------------------
>
>                 Key: DROOLS-2557
>                 URL: https://issues.jboss.org/browse/DROOLS-2557
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.7.0.Final
>            Reporter: Toshiya Kobayashi
>            Assignee: Mario Fusco
>              Labels: support
>
> Under the conditions:
> - "from" clause with multiple rules
> - calling update()
> - Pojo doesn't implement hashCode/equals (to be precise, only equals() seems to matter)
> A rule is activated/fired unexpectedly.
> Please see Unit test for details.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list