You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/11/05 12:20:13 UTC

[jira] [Commented] (OWB-711) Specialization does not deactivate Observer methods in parent class

    [ https://issues.apache.org/jira/browse/OWB-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490575#comment-13490575 ] 

Mark Struberg commented on OWB-711:
-----------------------------------

This is also related to OWB-675, so we have much more to clean up it seems.

@Specialized beans will not get hit by our events because they are not enabled - I hope so at least ;)
and removing overridden methods from our list of observerMethods should be done for all beans imo.
                
> Specialization does not deactivate Observer methods in parent class
> -------------------------------------------------------------------
>
>                 Key: OWB-711
>                 URL: https://issues.apache.org/jira/browse/OWB-711
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Inheritance, Specialization
>    Affects Versions: 1.1.5
>            Reporter: Daniel Sachse
>            Assignee: Arne Limburg
>              Labels: patch
>             Fix For: 1.1.7
>
>         Attachments: Observer, Alternative, Specialize.patch
>
>
> I found some bugs regarding @Specializes and Observer methods.
> The scenarios:
> @Specializes Bean without overriding Observer-method: Observer gets called
> @Specializes Bean with Overridden Observer-method: Overridden Observer gets called twice
> @Alternative @Specializes Bean without overriding Observer-method: Observer gets called
> @Alternative @Specializes Bean with overridden Observer-method: Overridden Observer gets called twice
> I attached a patch file for the tests which do of course fail at the moment ;)

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