Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
4.2, 4.3.7
-
4
-
Severity 3 - Minor
-
Description
Symptoms
As Described on this bug report:
In version 4.0 and above, Confluence should be able to auto update page links when the linked page has been renamed. However this is not working when the title of the page contains any multi-byte characters such as Japanese or Chinese.
Cause
This appears to be caused at the time the link is saved. If you save a link to a page called "First Page" in English, it looks like this in storage format:
<ac:link><ri:page ri:content-title="First Page" /></ac:link>
However if you save a page called "最初のページ" in Japanese, then it looks like this:
<ac:link><ri:page ri:content-title="最初のページ" /><ac:plain-text-link-body><![CDATA[最初のページ]]></ac:plain-text-link-body></ac:link>
The key difference is that there is an "ac:plain-text-link-body" section inserted, meaning that the link text has been overridden from the page name. The auto updater is only changing the "ri:page" element, specifically the "ri:content-title" attribute.
Steps to Reproduce
- Create a page called 最初のページ
- Create another page, and add a link to 最初のページ
- Rename the page 最初のページ to 二つ目のページ
- Reload the page with the link, and observe that the old page name remains
Workaround
To get around the issue when creating a new page:
- Create the page named with Roman characters only
- Create a link to that page
- Rename the page to have multi-byte characters
- The link should be updated normally from then on, as long as the link isn't edited again
To make a link to an existing page:
- Rename the page to a title with Roman characters only
- Create a link to that page
- Rename it back to the old title
Attachments
Issue Links
- is related to
-
CONFSERVER-24055 Renaming Page doesn't update Link in Table
- Closed
-
CONFSERVER-46342 Link Text(from a Confluence page) isn't updated with special characters.
- Gathering Impact