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

Module descriptors call the wrong constructure on AbstractModuleDescriptor

    XMLWordPrintable

Details

    Description

      The module descriptors provided by Confluence call the wrong constructure on AbstractModuleDescriptor. All descriptors that don't return void should call the constructor that takes a ModuleFactory.

      I found this out when I tried to use "bean:foo" as a module's class attribute on a macro, which should have worked. The default constructor on AbstractModuleDescriptor causes the descriptor to use LegacyModuleFactory, which only supports direct class instantiation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbrown@atlassian.com Don Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: