[jboss-jira] [JBoss JIRA] (JBRULES-3666) kbase holds multiple KnowledgeBaseEventListenerWrapper instances when adding the same KnowledgeBaseEventListener multiple times

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Jul 25 09:33:28 EDT 2013


    [ https://issues.jboss.org/browse/JBRULES-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792924#comment-12792924 ] 

RH Bugzilla Integration commented on JBRULES-3666:
--------------------------------------------------

Mario Fusco <mfusco at redhat.com> made a comment on [bug 958394|https://bugzilla.redhat.com/show_bug.cgi?id=958394]

This issue has been fixed a while ago (before release of 5.5) with this commit:

https://github.com/droolsjbpm/drools/commit/a21630afa98068ac9176c33979b42bb250c7e317
                
> kbase holds multiple KnowledgeBaseEventListenerWrapper instances when adding the same KnowledgeBaseEventListener multiple times
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3666
>                 URL: https://issues.jboss.org/browse/JBRULES-3666
>             Project: JBRULES
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.5.0.Beta1
>            Reporter: Toshiya Kobayashi
>            Assignee: Mario Fusco
>             Fix For: 5.5.0.Final
>
>
> When you add the same KnowledgeBaseEventListener to kbase twice, kbase holds both KnowledgeBaseEventListenerWrapper instances. I'm not 100% sure if this is a bug but I guess KnowledgeBaseEventListenerWrapper should implement equals() method like StatefulKnowledgeSessionImpl$AgendaEventListenerWrapper.

--
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