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: 1.0.0
         Environment: windows
            Reporter: YING WANG
            Assignee: Gurkan Erdogdu
             Fix For: 1.0.0


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