Spring bean components in plugins do not get wired onto macros

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Medium
    • None
    • Affects Version/s: 2.3.1
    • Component/s: None

      At the moment, if you have this in your atlassian-plugin.xml file:

      <macro name="gmap" class="com.atlassian.confluence.ext.gmaps.GmapsMacro" key="gmap">
      <description>The individual map macro.</description>
      </macro>

      <component name="gmapsManager" class="com.atlassian.confluence.ext.gmaps.GmapsManager" key="gmapsManager"/>

      And GmapsMacro depends on gmapsManager being injected, it will not be.

      Wiring of spring beans declared inside plugins is broken.

              Assignee:
              Unassigned
              Reporter:
              dave (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: