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

Joe Bergmark resolved OWB-440.
------------------------------

    Fix Version/s: 1.0.0-alpha-2
       Resolution: Fixed

Fixed the last remaining problem from the unit test.  When we found the 
existing decorator in the creational context we weren't updating the delegate 
so the old one would mistakenly get reused and we would lose our position in 
the decorator stack.

> WebBeansDecoratorConfig.getDecoratorStack always returns new Decorators
> -----------------------------------------------------------------------
>
>                 Key: OWB-440
>                 URL: https://issues.apache.org/jira/browse/OWB-440
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>    Affects Versions: 1.0.0-alpha-1
>            Reporter: Joe Bergmark
>            Assignee: Joe Bergmark
>             Fix For: 1.0.0-alpha-2
>
>
> WebBeansDecoratorConfig.getDecoratorStack's call to 
> ownerCreationalContext.getDependentDecorator(decorator)
> always returns null, even if the owning bean is called multiple times within 
> its lifecycle.  Because of this, you always get a new instance of the 
> Decorators for each method call when you would expect Dependant scoped 
> instances to live as long as their parent.

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