Details
-
Bug
-
Resolution: Fixed
-
High
-
4.0, 4.3.5, 4.3.7
-
None
Description
A customer discovered that when saving a page where a user macro is embedded within itself and where it has heading <h1>..<h2>..tags, Confluence produced an error.
Steps to reproduce:
- Add test_nesting as a user macro, set Rendered for body
test_nesting
## @noparams $body
- Add a new page
- Start typing {test_nest and select the right entry
- Inside that new block macro, start typing {test_nest and select the right entry again
- Inside the inner most block, add a heading of some sort (I use cmd-2 for instance on my mac)
- Hit preview (cmd-shift-e on mac)
- observe exception in red instead of expected heading
2011-10-06 11:03:51,791 ERROR [http-8090-1] [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: test, with message: Failed to transform the HTML macro template for display. Nested message: The XML content could not be parsed. There is a problem at line 1, column 636. Parser message: Duplicate attribute 'id'. at [row,col {unknown-source}]: [1,636] -- referer: http://paulaner:8090/confluence/login.action?os_destination=%2Fdisplay%2Ftest | url: /confluence/display/test/Home | userName: admin | action: viewpage | page: 131076