Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3127

Autoware fails on proxied objects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.6
    • Fix Version/s: Future
    • Component/s: Plugin - Spring
    • Labels:
      None
    • Flags:
      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".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vasiliy Vasiliy Gagin
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: