-
Bug
-
Resolution: Fixed
-
High
-
6.0.3, 6.0.4, 6.2.0, 6.1.2
-
16
-
Severity 3 - Minor
-
5
-
Summary
When you insert a link via Insert more content > Link > Web link or the shortcuts ⌘+K / CTRL+K, the link is no longer clickable or editable once you save the page.
Steps to Reproduce
- Create a new page and insert a web link via one of the methods below:
- Insert more content > Link > Web link
- ⌘+K / CTRL+K
- Insert any one of the URLs with the protocols below into the 'Address' field:
- Notes://xxxxxxxxxxx/xxxxxxxxxx (For Lotus Notes)
- File://xxxxx (For local file links)
- scp://user@ip_address
- Insert any text into the the 'Link text' field.
- Click on "Insert".
- Test that the link can be edited by clicking on it.
- Save the page.
- Test that the link can be clicked on and works.
- Click on "Edit" to edit the page again.
- You can see that the link is no longer editable because nothing appears when you click on it.
- Save the page.
Expected Results
The link on the page should be clickable.
Actual Results
The link is not clickable and nothing happens when you click on it.
Note
This happens because it changes the storage format of the page from:
<p><a href="File://xxxxx">Test</a></p>
To:
<p><a>Test</a></p>
Identifying Affected Pages
This isn't foolproof as it may bring up lines that Confluence believes are links due to automatic formatting, however, you can try searching the database for instances of %<a>%</a>%:
SELECT c.contentid,c.title,bc.body FROM bodycontent as bc JOIN content as c ON c.contentid=bc.contentid WHERE bc.body like '%<a>%</a>%' and prevver is null;
Depending on your database, you may need to rewrite this query to be suitable for your DBMS
- relates to
-
CONFSERVER-51690 An anchor link's name changes after editing the page with Collaborative Editing switched on or set to limited
- Closed
-
CONFSERVER-46227 Shortcut links become empty after editing the page with Collaborative Editing turned on
- Closed
-
CONFSERVER-51998 Attachment links are changed to a self referential link of the page once you edit the page
- Closed
-
CONFSERVER-44660 Links to filesystem are lost after editing a page
- Closed
-
CONFSERVER-45475 Links with vertical lines can't be edited or clicked on after saving the page
- Closed
-
CONFSERVER-52418 HTML markup is lost while editing pages if the Collaborative Editing is ON
- Closed
-
CONFSERVER-52449 mailto links doesn't work correctly when the email starts with a special character.
- Closed
- was cloned as
-
CONFCLOUD-67728 Links can't be edited or clicked on after saving the page
- Closed