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

Cannot render macros from content rest API

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      The problem: If you request the content body using the content rest API, and the content contains macros, the macros don't work (in most cases).

      The cause:
      1 - Some macros don't explicitly list their web resource dependencies, and so the web resource is not included in the response from the API.
      2 - Web resources that are included in the superbatch are excluded from API response, so if the super batch doesn't exist on the page, then javascript errors are thrown due to missing dependencies.
      3 - Some macros assume a page load lifecycle that will have a load/ready event. When using the rest API this is often not the case.

      Attachments

        Issue Links

          Activity

            People

              dwalker@atlassian.com Drew Walker
              dwalker@atlassian.com Drew Walker
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: