-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
4.1.6, 4.3.2
-
None
Chart macro will not render due to error
Error rendering macro 'chart' : org.dom4j.DocumentException: Error on line 1 of document : Attribute "id" was already specified for element "h6". Nested exception: Attribute "id" was already specified for element "h6".
Relates to https://jira.atlassian.com/browse/CONFDEV-4813
where duplicate id fields break the XML parser.
Cause
This is caused by an included page in the Chart macro, where the included page contains headings. The headings are assigned an id tag when they are rendered, and the ids are consequently clashing.
Workarounds
- Remove the headings from the included page
- Use the Excerpt Include macro instead of Include, as this strips formatting and as such will not throw the error.
[CONFSERVER-25106] Chart Macro breaking due to Attribute "id" was already specified for element
Workflow | Original: JAC Bug Workflow v3 [ 2880071 ] | New: CONFSERVER Bug Workflow v4 [ 2988825 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2780177 ] | New: JAC Bug Workflow v3 [ 2880071 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2734916 ] | New: JAC Bug Workflow v2 [ 2780177 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400363 ] | New: JAC Bug Workflow [ 2734916 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2299797 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400363 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234127 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2299797 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196197 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234127 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1926879 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196197 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1728404 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1926879 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1685298 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1728404 ] |