Issue 56868 - RTF: exported UNC Links (links like \\server\name), gives "Error! Hyperlink reference not valid." in WordViewer
Summary: RTF: exported UNC Links (links like \\server\name), gives "Error! Hyperlink r...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-10-28 14:14 UTC by pauldurham
Modified: 2017-05-20 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pauldurham 2005-10-28 14:14:17 UTC
I created a new Rich Text Format (RTF) document in Writer.  My text included 
Universal Naming Convention (UNC) links (like \\server\share\) and web links 
(like HTTP://).  Writer auto-formats both types of links to make them 
"clickable".  When saving the document I was notified that some information may 
be lost in the .rtf format.  I closed the document & re-opened it, and found 
that where the UNC links were (eg. \\server\share) there was now only a blank 
space!  The HTTP:// links were still there.  I added the UNC links back in, 
saved the document again to .rtf, closed it and opened it again in Writer but 
again the UNC links were gone.  I added the UNC links in again, saved the 
document again to .rtf & closed it and this time I opened the document in 
Wordpad instead and the UNC links were still there.

This makes no sense to me - it seems like Writer is removing and auto-formatted 
UNC links it sees only in .rtf formatted documents.  I have tested doing this 
with a document I created in Writer and saved to Microsoft Word format and the 
problem didn't occur.  It only happens with .rtf documents (which open fine in 
Wordpad).
Comment 1 lohmaier 2005-11-09 00:29:10 UTC
confirming on linux. On reload of the RTF the link is gone.

When opening the RTF in WordViewer97 it shows 
"Error! Hyperlink reference not valid."

So the link is stored, but these links apparently are not valid in RTF
OOo stores it like this:
{\field{\*\fldinst HYPERLINK "" }{\fldrslt
\*\cs8\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1031\loch\f0\fs24\lang1031
\\\\server\\share}
Comment 2 michael.ruess 2005-11-11 12:56:21 UTC
MRU->FLR: if you export an UNC path hyperlink to RTF, it will be completely lost
when reopening the file.
Comment 3 Mathias_Bauer 2006-08-30 15:15:31 UTC
reassigning to hbrinkm
Comment 4 Marcus 2017-05-20 11:22:32 UTC
Reset assigne to the default "issues@openoffice.apache.org".