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

Inserting an Attachments macro into a Space Template throws a rendering error, when previewing the template, after saving it

    XMLWordPrintable

Details

    Description

      Issue Summary

      When creating a space template, users have the option to insert an Attachments macro into it. By doing so, saving the template and previewing it, an error message will be displayed saying the macro failed to load, due to missing permissions.

      Steps to Reproduce

      1. Navigate to Any space an access Space Settings > Content Tools > Templates
      2. Create a new Template;
      3. Insert an "Attachments" macro into it > Save the template;
      4. Now preview the template, by clicking its name (under 'User Created Templates');

      Expected Results

      • Attachments macro to correctly be displayed under the template preview;

      Actual Results

      • Users are shown the error

        Error rendering macro 'attachments' : Could not check permissions for page: 0 v.1 no suitable delegate found.

      NOTE: This only affects the template's preview, and won't impact the created page based on it, or have any degradation on functionality whatsoever. The page would correctly display the macro, and receive attachments, both in draft and published mode.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            halegra Helton A. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: