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

Gurkan Erdogdu closed OWB-241.
------------------------------

    Resolution: Fixed

> 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.

Reply via email to