-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
6.1.0, 6.4.2
-
1
-
Severity 2 - Major
-
Summary
After updating the base URL, editing any pages that were created prior to the base URL update, will cause all links on the page to turn into links to the page itself.
Steps to Reproduce
- Create a blank Confluence page - Page A
- Add links to other pages on the instance and @mentions to users on the instance:
- Save the page
- Change the Confluence instance's base URL to valid base url
- Shutdown Confluence
- Add a context path to the server.xml
- Restart Confluence
- Update the base URL
- Edit Page A, not making any changes to the content
- Save Page A
Expected Results
The page remains the same, links remain intact:
Actual Results
All the links on the page become links to the page itself:
Notes
- The storage format for the links is identical on the page before the issue occurs, and after the issue is resolved with the links recreated correctly
- In an instance where an upgrade was performed, all pages edited and/or created after the upgrade, and before the base URL change are affected. Pages that were created/edited prior to the upgrade, but not until after the base URL change are not affected.
Workaround
Turn Collaborative Editing Off
- Go to > General Configuration > Collaborative editing
- Click Change mode
- Select Off
- Click Change
- Then rebuild the index via the UI
Turn Synchrony Off and On again
- Go to > General Configuration > Collaborative editing
- Click Change mode
- Select Off
- Click Change
- Then turn Synchrony back on
- Then rebuild the index via the UI
- The links should be resolved
All existing shared drafts are lost when you switch to this mode, so make sure your users have published any work they want to keep before you make the change.
More information on this can be found in Administering Collaborative editing.
- duplicates
-
CONFSERVER-52060 Images, attachments, user mentions are broken after changing the BaseURL
- Closed