You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Arne Limburg (JIRA)" <ji...@apache.org> on 2014/11/18 10:23:33 UTC

[jira] [Commented] (OWB-930) NotificationManager#disableOverriddenObservers removes wrong observers

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

Arne Limburg commented on OWB-930:
----------------------------------

Sehr geehrte Damen und Herren,

in der Zeit vom 02.11.2014 - 01.12.2014 bin ich nicht im Büro zu erreichen.
In dringenden Fällen wenden Sie sich bitte an unser Office Management (office.management@openknowledge.de) unter der Nummer +49 441 4082 0.

Mit freundlichen Grüßen
Arne Limburg

-----------------------------------------------------------------------------

Dear Sir or Madam,

I'm out of office from 02.11.2014 to 01.12.2014.
For anything urgent please contact our office management (office.management@openknowledge.de) on +49 441 4082 0.

Sincerely,
Arne Limburg

--

Arne Limburg - Head of Architecture and Technology
open knowledge GmbH, Oldenburg
Bismarckstraße 13, 26122 Oldenburg
Mobil: +49 (0) 151 108 22 942
Tel: +49 (0) 441 - 4082-0
Fax: +49 (0) 441 - 4082-111
arne.limburg@openknowledge.de
http://www.openknowledge.de

Registergericht: Amtsgericht Oldenburg, HRB 4670
Geschäftsführer: Lars Röwekamp, Jens Schumann


> NotificationManager#disableOverriddenObservers removes wrong observers
> ----------------------------------------------------------------------
>
>                 Key: OWB-930
>                 URL: https://issues.apache.org/jira/browse/OWB-930
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Inheritance, Specialization
>    Affects Versions: 1.2.1
>            Reporter: Gerhard Petracek
>            Assignee: Arne Limburg
>             Fix For: 1.2.2, 1.5.0
>
>         Attachments: OWB-930.patch, OWB-930_tests.patch
>
>
> if (!observerMethod.getJavaMember().getDeclaringClass().equals(subClass))
> means that observer-methods of other beans (same name and same parameters) will be removed as well.
> + subClass is not the sub-class since NotificationManager#disableOverriddenObservers gets called with:
> webBeansContext.getBeanManagerImpl().getNotificationManager().disableOverriddenObservers(superClass);
> the existing tests just work due to the usage of protected observer-methods. with public observer-methods they fail.
> workaround:
> use protected observer-methods with different names



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)