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

Wes Wannemacher updated WW-3127:
--------------------------------

    Fix Version/s: Future

Setting to future, although it would be nice to have OGNL be able to deal with 
JDK proxies, I'm not sure if it is possible. I disagree with one of the OPs 
because I do think that a CGLIB proxy will be handled properly. We'd only know 
with testing, but Vasiliy's comment that starting and committing the JPA 
transaction through an interceptor provides an adequate solution for now. 

> Autoware fails on proxied objects
> ---------------------------------
>
>                 Key: WW-3127
>                 URL: https://issues.apache.org/struts/browse/WW-3127
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Spring
>    Affects Versions: 2.1.6
>            Reporter: Vasiliy Gagin
>             Fix For: Future
>
>
> com.opensymphony.xwork2.spring.SpringObjectFactory#buildBean method calls 
> autoWiringFactory.applyBeanPostProcessorsAfterInitialization() method.
> In some cases this method can return a JDK Proxy instead of action. Following 
> call to autoWireBean method attempts to autowire proxy itself instead of the 
> action.
> As a result the action remains "not-wired".
> May be autowiring should happen before applying post processors 
> "AfterInitialization".

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