Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.7.2, 7.7.3
-
Severity 3 - Minor
-
0
-
Description
Issue Summary
Currently, if a user specifies a page link inside the Include Page macro using the Space Key parameter and the page happens to have the colon ( right after the first word in the title, the macro will remove the space key and consider part of the title as the space key value when you first edit the page where the macro is placed.
If the page title is ‘THIS: is a test title created’
This:
MAL:THIS: is a test title created
Becomes this:
THIS: is a test title created
Adding the space key parameter again seems to fix the issue and editing the page can be done normally.
Documentation on the macro
https://confluence.atlassian.com/doc/include-page-macro-139514.html
Steps to Reproduce
- Create a new page that contains a colon right after the first word in the title
- Publish the page
- Create a new page on the same space as the previous one
- Add the Include Page macro
- Specify the previously created page using space key value (eg. SPC:THIS: title)
- Publish the page
- Edit the page
Expected Results
The space key value is still there and the page is found
Actual Results
The space key value is removed and the page is not found.
Before publishing the page
After publishing the page
First page edit
notice the missing space key
First edit, view mode
Workaround
Edit the page and add the space key back. After the first edit, the space key value sticks to the original value.