You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Nikals Liechti (JIRA)" <ji...@apache.org> on 2015/01/06 15:44:34 UTC

[jira] [Updated] (DELTASPIKE-818) CDI Events with reception condition in WindowScoped beans

     [ https://issues.apache.org/jira/browse/DELTASPIKE-818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikals Liechti updated DELTASPIKE-818:
--------------------------------------
    Description: 
With the Weld implementation 2.0.0 and 2.0.5 CDI events with the reception condition IF_EXISTS won't get delivered although the bean exists.

{code:java}
 private void onEventChangeReception(@Observes(notifyObserver = Reception.IF_EXISTS) ChangeEvent                           changeEvent){
        eventStatusReception = "Event has been received";
    }
{code}

  was:
With the Weld implementation 2.0.0 and 2.0.5 CDI events with the reception condition IF_EXISTS won't get delivered although the bean exists.

<code:java>
 private void onEventChangeReception(@Observes(notifyObserver = Reception.IF_EXISTS) ChangeEvent changeEvent){
        eventStatusReception = "Event has been received";
    }
</code>


> CDI Events with reception condition in WindowScoped beans
> ---------------------------------------------------------
>
>                 Key: DELTASPIKE-818
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-818
>             Project: DeltaSpike
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: Glassfish 4.0, Weld 2.0.0.SP1
>            Reporter: Nikals Liechti
>
> With the Weld implementation 2.0.0 and 2.0.5 CDI events with the reception condition IF_EXISTS won't get delivered although the bean exists.
> {code:java}
>  private void onEventChangeReception(@Observes(notifyObserver = Reception.IF_EXISTS) ChangeEvent                           changeEvent){
>         eventStatusReception = "Event has been received";
>     }
> {code}



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