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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14266218#comment-14266218 ] 

Gerhard Petracek edited comment on DELTASPIKE-818 at 1/6/15 3:16 PM:
---------------------------------------------------------------------

deltaspike isn't responsible to handle events -> please file a weld-issue (about events and custom scopes)

just fyi:
it works fine e.g. with tomee and wildfly


was (Author: gpetracek):
deltaspike isn't responsible to handle events -> please file a weld-issue (about events and custom scopes)

> 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: Niklas Liechti
>         Attachments: deltaTest.war, src.zip
>
>
> 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)