Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.1.6
-
None
-
None
-
Important
Description
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".