-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 7.4.1, 7.6.1
-
Component/s: Content - Page, Core - Macros Platform, Editor - Page / Comment Editor
-
2
-
Severity 3 - Minor
-
1
Issue Summary
In Confluence Server, if the user is using the Excerpt Include macro in order to retrieve content from a page that has specific characters (like ":"), the same will display the following result on the copy:
"Error rendering macro 'excerpt-include': No link could be created for 'specific page: specific character"
Steps to Reproduce
- Create a new page with a colon character in the title (eg: Page: One)
- Edit Page: One and insert an Excerpt macro
The Storage Format of the page should look something like:
<p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="excerpt" ac:schema-version="1" ac:macro-id="58b48fbe-a724-4348-adfe-afbac13a7164"><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:rich-text-body> <p>This is my excerpt macro</p></ac:rich-text-body></ac:structured-macro> <p><br /></p>
- Create another page with any title (eg: Page Two)
- In Page Two, add an Excerpt Include macro and point it to Page: One
- Use the Copy function on Page Two and save it as Page Two Clone in any space
Expected Results
The copy should be properly displaying the Excerpt Include content.
Actual Results
Instead of having the content, the message below is displayed:
"Error rendering macro 'excerpt-include': No link could be created for 'specific page: specific character"
Notes
- Similar as
CONFCLOUD-65349but for Confluence Server - A video has been recorded with the steps to reproduce. The excerpt video can be found on the attachments of this request (steps to reproduce for Confluence v7.6.1)
- This seems to be happening with copied pages because the same remove the space key from the macro parameter, hence, making the macro to not identify it.
- Simply tapping on the excerpt include macro in order to edit and then, searching for the page will automatically adjust it.
- Pages without specific characters are not affected once the same does not use a space key as a reference.
Workaround
- Instead of using the Copy function, try to manually copy the content with the excerpt to a new page.
- Change the title of the pages using the affected character