Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7748

Spring bean components in plugins do not get wired onto macros

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Medium Medium
    • None
    • 2.3.1
    • 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.

            [CONFSERVER-7748] Spring bean components in plugins do not get wired onto macros

            No work has yet been logged on this issue.

              Unassigned Unassigned
              dave@atlassian.com dave (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: