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

      When you add a macro to a template, some of them (like TOC, Page Tree Search or Page Tree) fail to preview (but they work completely fine when the template is used afterwards) because they expect a space to exist. This is true even when creating a space template, which is bad.

      The error thrown when creating a TOC macro on a template is:

      Error rendering macro 'toc' : null
      

            [CONFSERVER-27660] Macros doesn't render on template preview

            No work has yet been logged on this issue.

              sday@atlassian.com Samuel Day (Inactive)
              egarcia Angel Eduardo Garcia Hernandez (Inactive)
              Affected customers:
              15 This affects my team
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: