Macros doesn't render on template preview

XMLWordPrintable

      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
      

            Assignee:
            Samuel Day (Inactive)
            Reporter:
            Angel Eduardo Garcia Hernandez (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: