Apache OpenOffice (AOO) Bugzilla – Issue 74114
Hyperlink causes writer to hang on save
Last modified: 2013-08-07 14:38:26 UTC
Consider a document containing a hyperlink to an external target that exists but is not accessible (eg. because access is blocked by a firewall). When saving this documentm writer seems to hang. Obviously during save writer tries to access the target and then runs into a timeout of network functions that may last several tens of seconds per hyperlink and the user gets the impression that writer hangs. What is this behaviour good for? I think it is completely unneccessary that writer accesses or checks hyperlinks when saving the document. The details of the reported case were as follows: The original document was a Word-document containing hyperlinks such as "\\computername.domain\path\" to computers in a windows network. Some time ago this document was opened in writer and saved as sxw. Now I can no longer tell which version of writer was used for this conversion, but at the beginning there were no problems when saving the sxw file. Recently the document was edited and then writer (OOo1.5 and OOo2.1) always hang during save. It was found that the hyperlinks causing the problem where converted by writer to "file://computername.domain/path/".
I said: "at the beginning there were no problems when saving the sxw file". The reason might simply be that at that time the resource was still accessible via the network and the firewall was established only afterwards.
This problem is known, see issue 28625. *** This issue has been marked as a duplicate of 28625 ***
Closing duplicate.
This is not a duplicate to issue 28625 as we can't apply the same fix to both problems. Wether we can fix this one at all must be judged by studying a document.
Created attachment 42667 [details] Document including a links that timeouts
I have added a document that causes a timeout during save when I am in the domain tci.uni-hannover.de. I don't know whether it behaves same in a different environment.
khbellgardt, can't repro with your doc (OO 2.1 on WinXP). Please try it yourself on some other machine.
Reassigned to ES.
ES->MBA: as stated in your comments, please have a look.
The reason for the hanging is that the hyperlink URL is made relative (in memory URLs in OOo are always absolute; changing this would be a huge effort). Making a URL relative in a platform independent way needs to care for case sensitivity problems. So we must check every hierarchical part of the URL to check whether it is a case sensitive or a case insensitive file system, at least we must check the root host system. In case of an unreachable host we fail already in the first part of the URL but at least we must try. So I'm afraid that we don't have a fix for the problem with a justifiable effort.
The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html
As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew
I just wanted to add that I was wrong by thinking that we can't fix that without reasonable effort. So I'm happy to tell that this issue will be fixed in OOo3.2. Please see issue 50983.