Forums

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

Link in the article is being overwritten automatically by the system

Andrew Ronson July 17, 2018

Hey guys,

I have a weird issue here, hopefully you would be able to assist me with it.

The problem is that when i put a certain link A into the article, and click Save - confluence displays link B instead. When i click Edit - i see link A in the edit mode, if i click Preview or Save - link B is being displayed. Also i if insert link A as an URL address into the text link - system displays link B and redirects me there.

This issue happens on all pages and spaces in my confluence so it looks like there is an auto-replacement of these links hard-coded in the system. Not sure how it happened though, thinking that there might have been a conflict of simultaneous editing which resulted in one change overwriting the other one permanently.

Please advise if this is a bug or if there is anything i can do to solve this issue.

1 answer

0 votes
Mirek
Community Champion
July 17, 2018

Hi @Andrew Ronson - Welcome to Community! :)

Yes, indeed this looks really weird. Did you check if similar behavior is on a different browser? Is it same for all users? What would happen if you try from different network? What would happen if you would paste link B and try to edit/save?

Andrew Ronson July 17, 2018

Yup, i tried it in different browsers and the behavior is still the same. This issue occurs for all users and it does not seem to be network related. If i paste link B i am able to edit/save it without any problem, i mean it does not change to link A, it just works normally.

Mirek
Community Champion
July 17, 2018

Anything special with this link A? What is weird that all users have the same problem on all pages .. So it looks like something is cached across whole instance. Did you tried to rebuild your cache in Confluence?

https://confluence.atlassian.com/confkb/how-to-rebuild-the-viewfile-cache-from-scratch-765756128.html

https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html

Andrew Ronson July 17, 2018

I tried to flush cache using confluence administration page (and it did not work) but i did not consider rebuilding the cache the way you suggested. I will definitely try this as an option. Thanks for the advice!

Andrew Ronson July 20, 2018

Hello Mirek,

I have tried to rebuild the cache as you advised in the post but unfortunately it did not help - the problem still persists. Any other advice you can possibly suggest?

Mirek
Community Champion
July 20, 2018

Hmm.. that is strange. OK lest try to find if there is any plugin that breaks that functionality. Could you please enable Safe Mode and see if that helped? - https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html

In addition .. Do you see something in the logs when you actually save/edit the page (when the link A is actually changed to B)?

Andrew Ronson July 23, 2018

Hello,

I have tried it in safe mode but it did not make any difference. 

As for log info - please see it here https://pastebin.com/E3u2vd4D - hopefully you would be able to sort it out.

Mirek
Community Champion
July 23, 2018

Thanks! May I know what kind of link you are trying to post and to what it is changing? Is this a link to external resources or maybe internal? Is this a normal http/https? or maybe file:// protocol?

Andrew Ronson July 24, 2018

Both links lead to internal resources inside our system. They are normal http/https links.

Interesting thing is that if i post just a resource name, e.g domain1.com it does not get replaced, but if it put http://domain1.com it is being replaced with http://domain2.com.

Andrew Ronson July 31, 2018

halp-7901699[1].png

Mirek
Community Champion
August 2, 2018

Hi @Andrew Ronson - Could you try to temporary disable auto formatting and auto converting ans see if there is any difference? 

In order to do so go to your profile in Confluence (Profile > Settings > Editor)

Andrew Ronson August 2, 2018

 Hello,@Mirek i have just tried that, it does not seem to be the case.

Mirek
Community Champion
August 2, 2018

OK, in that case please check your system plugins: Confluence JIRA Plugin, Atlassian TinyMCE Plugin and Atlassian Editor Plugin. If those are enabled and working then the last think that is in my mind is Customization. Are you having any? Maybe you can check one by one (or disable temporary as described here - https://confluence.atlassian.com/confkb/how-to-clear-customizations-from-confluence-314447086.html). Would be good to have a test system (which is a copy of production) on which you can also check if the same issue occurs and play around.

BTW - What is you version of Confluence?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events