-
Bug
-
Resolution: Fixed
-
Medium
-
3.5, 5.0-OD-27
-
None
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
- relates to
-
CONFCLOUD-27660 Macros doesn't render on template preview
-
- Closed
-
-
CONFSERVER-23346 Previewing a template containing a table of contents macro will show a NullPointerException
-
- Closed
-
-
CONFSERVER-25590 Pagetree macro throws NullPointerException in Global Template Preview
-
- Closed
-
- is blocked by
-
TOC-164 Loading...
- mentioned in
-
Wiki Page Failed to load
[CONFSERVER-27660] Macros doesn't render on template preview
Workflow | Original: JAC Bug Workflow v3 [ 2902936 ] | New: CONFSERVER Bug Workflow v4 [ 2997599 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2800734 ] | New: JAC Bug Workflow v3 [ 2902936 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2731217 ] | New: JAC Bug Workflow v2 [ 2800734 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397901 ] | New: JAC Bug Workflow [ 2731217 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2295585 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397901 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231525 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2295585 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190669 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231525 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924950 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190669 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1727246 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1924950 ] |
Description |
Original:
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: {noformat} Error rendering macro 'toc' : null {noformat} |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This bug report is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/CONFCLOUD-27660]. {panel} 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: {noformat} Error rendering macro 'toc' : null {noformat} |