Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-69948

Inserting specific macros on a page results in an error while in the edit mode

    XMLWordPrintable

Details

    Description

      Issue Summary

      When using the new editor to add specific macros, an error will be displayed while trying to view it in the edit mode:

      The affected macros are the following ones:

      Steps to Reproduce

      1. Open a page in the new editor and edit it.
      2. Open the macro menu and add one of the mentioned macros

      Expected Results

      The macro should be displayed without any issues.

      Actual Results

      The following message is displayed in the macro:

      Error loading the extension!

      The below exception is thrown in browser's console (using two macros as an example):

      Error rendering extension Error: Extension with type "com.atlassian.confluence.macro.core" and key "toc" not found!
      

      And for the Page tree:

      Error rendering extension Error: Extension with type "com.atlassian.confluence.macro.core" and key "pagetree" not found!
      

      Workaround

      Although the error is displayed, the macro works without issues. As a workaround, while the error is displayed, you can tap the edit button in order to preview its content:

      Alternatively, publishing the page also has the macro content properly displayed.

      Attachments

        1. edit.png
          edit.png
          30 kB
        2. error_extension.png
          error_extension.png
          18 kB
        3. preview.png
          preview.png
          173 kB

        Issue Links

          Activity

            People

              speachey Sami Peachey
              gdecampos Giuliano C.
              Votes:
              15 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: