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/09/21 06:50:00 UTC
[jira] [Updated] (MEECROWAVE-91) RequestScoped context not active
for @Observes @Initialized(ApplicationScoped.class)
[ https://issues.apache.org/jira/browse/MEECROWAVE-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg updated MEECROWAVE-91:
------------------------------------
Fix Version/s: (was: 1.2.4)
1.2.5
> 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.5
>
>
> {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
(v7.6.3#76005)