You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/01/20 20:02:55 UTC

[jira] Updated: (OWB-241) Conversation scoped bean instance gets destroyed for every ELResolver.getValue

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

Gurkan Erdogdu updated OWB-241:
-------------------------------

    Affects Version/s:     (was: 1.0.0)
                       M4
        Fix Version/s:     (was: 1.0.0)
                       M4

Thanks for comments. I have corrected.

> Conversation scoped bean instance gets destroyed for every ELResolver.getValue
> ------------------------------------------------------------------------------
>
>                 Key: OWB-241
>                 URL: https://issues.apache.org/jira/browse/OWB-241
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: M4
>         Environment: windows
>            Reporter: YING WANG
>            Assignee: Gurkan Erdogdu
>             Fix For: M4
>
>
> 1. I am testing @disposes for conversation scoped bean and found my disposes method get invoked whenever WebBeansELResolver.getValue() invoked. Shouldn't the ELContextStore only stores @dependent bean objects? (After guarded the store.addDepenent() block with @dependent scope test, the problem seems resolved.)
> 2. There seems a typo in ELContextStore.destroy(), shouldn't 
>       o.destroy(o, (CreationalContext<Object>)store.getCreational());
> to be
>       o.destroy(store.getObject(), (CreationalContext<Object>)store.getCreational());
> thanks in advance...
> Ying

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.