Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Anchor Links are Not Persisting

MarkC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2013

In Confluence 5.1.2, I have a page that has several anchors that jump around to various parts of the page. I have named all the anchors as "a_ANCHORNAME" where "ANCHORNAME" is changed to a unique name for that section. I included the "a_" to prevent the anchor from linking to the TOC in the event that the name I used was the same as the anchor in the TOC, which did happen.

The problem I'm having is that the links are not persisting after saving. For example, I had an anchor called "a_address". I created the anchor then added the link using the Advanced link section of Insert Link. After saving the page and testing the links, the anchor link failed to activate. When I went back to edit the page, the link had changed to "a_addr". Is there a maximum character limit on anchors? This happened to half of the anchor links on the page.

Another issue I encountered was a link not persisting after being saved. When I went back to edit the page to check a link that failed to work, I could not access the Insert Link screen. Pressing ctrl+K also failed to bring it up. I had to delete the link and re-add it. Any ideas on what is happening?

4 answers

1 vote
MarkC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2014

I found that this occurs only when I type in the anchor link and then press enter to save it. If I type it in, then click the mouse so the text box loses focus, then click save, it always seems to work.

Tom Sayers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2020

This is still happening on 6.15.9.  Sometimes pressing enter works, most times it does not.

I had step1, step2, step3...step9) as anchor names, but changed them to something extremely unique because I thought there might be some system-wide issue that is recognizing anchor IDs from our entire Confluence system.

I changed them to (as an example) QWERTYUIstep1QWERTYUIstep2, QWERTYUIstep3, etc. 

Whether I was creating or modifying the anchor name or link, pressing enter only worked a handful of times.  Most times it did not.  And sometimes I would change an anchor from step1 to QWERTYUIstep1 and it would either leave it as step1 or step or QWERTYUIstep.

Manually clicking Save works, but it's a shame pressing Enter doesn't work as it should.

0 votes
Mike Johnson June 24, 2014

Yeah we found the same thing, but according to the reporter that's even begun to work randomly recently.

You posted in July 2013, you're still having this issue after I assume updates and reboots, etc? I'm not sure what to even look at.

0 votes
Mike Johnson June 24, 2014

I'm suddenly having this same issue on 5.4.2.

0 votes
MarkC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2013

I have found that the links stay after being corrected. Still, I don't think I should have to put the links in twice.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events