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 2018/01/06 23:10:00 UTC

[jira] [Created] (MEECROWAVE-91) RequestScoped context not active for @Observes @Initialized(ApplicationScoped.class)

Mark Struberg created MEECROWAVE-91:
---------------------------------------

             Summary: RequestScoped context not active for @Observes @Initialized(ApplicationScoped.class) 
                 Key: MEECROWAVE-91
                 URL: https://issues.apache.org/jira/browse/MEECROWAVE-91
             Project: Meecrowave
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Mark Struberg
            Priority: Critical
             Fix For: 1.2.1


{code}
public void init(@Observes @Initialized(ApplicationScoped.class) Object initVal) {
  someRequestScopedBean.doSomething() // <- boom ContextNotActiveException
}  
{code}


This must work according to the CDI spec. 
Note that this is an integration issue in Meecrowave and no OWB core issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)