[jboss-jira] [JBoss JIRA] (DROOLS-200) score corruption when using insertLogical with custom objects

Mario Fusco (JIRA) jira-events at lists.jboss.org
Wed Jul 24 11:05:26 EDT 2013


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

Mario Fusco resolved DROOLS-200.
--------------------------------

    Resolution: Rejected


It was failing because the FamilyStart user's class had badly written equals/hashcode methods. Fixing them resolved the problem.
                
> score corruption when using insertLogical with custom objects
> -------------------------------------------------------------
>
>                 Key: DROOLS-200
>                 URL: https://issues.jboss.org/browse/DROOLS-200
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.Beta5
>            Reporter: Pieter van den Brink
>            Assignee: Mario Fusco
>         Attachments: drools-200-isolated-reproducer.tar.gz, reproducer.zip
>
>
> When using a rule with insertLogical to insert custom objects, score corruption occurs in certain situations. It seems like the custom objects aren't always inserted or retracted properly after a move. This causes any rule that depends on these custom objects to fire multiple times, which corrupts the score.
> Attached is a reproducer which demonstrates the issue. Also see the forum reference for a detailed discussion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list