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 2012/12/05 22:22:00 UTC

[jira] [Resolved] (OWB-725) Beans containing a producerMethod are using the wrong CreationalContext

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

Mark Struberg resolved OWB-725.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2.0)
    
> Beans containing a producerMethod are using the wrong CreationalContext
> -----------------------------------------------------------------------
>
>                 Key: OWB-725
>                 URL: https://issues.apache.org/jira/browse/OWB-725
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.6
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.1.7
>
>         Attachments: OWB-725_test.patch
>
>
> When an @ApplicationScoped Bean containing a producermethod has a @Dependent scoped injection point and produces a @Requestion bean then it will get destroyed with the produced @RequestScoped bean. 
> This is actually wrong as it should survive until the end of the application and only then get destroyed!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira