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

Confluence not honouring the selected macro when macros from different addons have same macro Name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 5.10.7, 6.2.4, 6.4.1
    • Core - Macros Platform

    Description

      Summary

      Macros from different add-ons but with the same macro name override the other, making it unusable.

      Environment

      • Tested in Confluence 5.10.7
      • Tested in Confluence 6.1.1

      Steps to Reproduce

      1. Install Bob swift - Markdown for Confluence addon.
      2. Install Adaptavist script runner addon for confluence.
      3. Create a page, try to use Bob swift - Markdown macro, but Confluence will select Adaptavist's markdown macro.
      4. Try disabling the Adaptavist's markdown macro here <confluence-server-url>/plugins/servlet/scriptrunner/builtin?section=confluence_macros
      5. Still confluence is not able to select Bob swift - Markdown macro, rather tries to search Adaptavist markdown macro and throws an exception.
      6. Now disable both Markdown macros and enable Bob swift - Markdown macro only. Now Confluence able to select Bob swift - Markdown macro.

      Expected Results

      The selected macro will be used

      Actual Results

      Only one macro is being used even if the other one with the same name is selected

      Notes

      Steps 4 and 5 does not happen in version 5.10.7 but can be replicated in 6.1.1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              b6c1d371603e Sunita Patro {Appfire}
              Votes:
              28 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated: