Antonin Stefanutti created OWB-1126:
---------------------------------------
Summary: Lookup of non passivating scope programmatic bean leads
to incorrect contextual references
Key: OWB-1126
URL: https://issues.apache.org/jira/browse/OWB-1126
Project: OpenWebBeans
Issue Type: Bug
Components: Context and Scopes
Affects Versions: 1.6.3
Reporter: Antonin Stefanutti
When adding a programmatic bean in an extension whose scope is
{{ApplicationScoped}}, and that bean instance is used to retrieve a contextual
instance of that bean, the contextual reference is not the same as the one
retrieve either by looking up the bean prior to retrieving the contextual
reference or with an injection point that resolves to that bean.
Attached is a minimal reproducible test case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)