cancel
Showing results for 
Search instead for 
Did you mean: 

Broken links in Share wiki

xwu
Champ in-the-making
Champ in-the-making
Hi, I have created some links on the Alfresco wiki page, and one of the links to the document in the "document library" keeps breaking. It seems that Alfresco treats those links to the contents of the site as internal links, and thus, automatically truncate the first part of the full address; i.e., "http://[ourwebsite]/share/page/site/[outsite]", once you created and save the wiki post.

However, when you try to edit the same post, all the other links will be fine (including the links to blog/discussion/other wiki pages/) excepts those to the documents in the "document library", which turns out to be "http://document-details?nodeRef=workspace://SpacesStore/e28b5e7a-2d6f-44c0-acd6-b25750b304bd", and thus is broken. We even tried to edit the wiki page from html source editor as provided, and remove "http://" from the address (href="document-details?nodeRef=workspace://SpacesStore/e28b5e7a-2d6f-44c0-acd6-b25750b304bd"). However, after saving the page, "http://" was added automatically to the address.

Does there anyone experience the same problem as ours? or is it a system bug? thanks

Brett
4 REPLIES 4

ssaravanan
Champ in-the-making
Champ in-the-making
Edit the following file /tomcat/webapps/share/modules/editors/tiny_mce.js

Add the following code @ line 15 to disable relative url attribute
config.relative_urls = false;

Let me know whether that fixes the issue.

tushagarwal
Champ in-the-making
Champ in-the-making
I tried the option mentioned but it did not help i am still getting the same truncated URL. Is their a root cause to the issue?

ssaravanan
Champ in-the-making
Champ in-the-making
That seems to be working fine on V-3.1.1 enterprise, haven't managed to test it on 3.2 yet.

I'm having this problem with Alfresco Enterprise 4.1.2. Does the following response from this post still apply to correct this?

"Edit the following file /tomcat/webapps/share/modules/editors/tiny_mce.js

Add the following code @ line 15 to disable relative url attribute
config.relative_urls = false;"

Thanks for your help.