https://bugs.documentfoundation.org/show_bug.cgi?id=100137
Bug ID: 100137
Summary: Wrong Hyperlinks in Calc when opening the Calc
document over a Symlink
Product: LibreOffice
Version: 4.1.6.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
When opening a calc document over a symlink, a hyperlink path in this calc
document is replaced by the symlink path. So the hyperlink is getting wrong and
hyperlinked document cannot be opened anymore by Ctrl-Click.
The failure only occurs, when the “save URLs relative to file system” option is
enabled and when the calc document is not stored in the home directory, rsp. it
should be stored in a subdirectory of the home directory, e.g.
/home/user/test/calcdoc.ods.
Verified this bug on Linux with LibreOffice 4.1.6, 5.0.6.3, 5.1.3.2 and 5.2.0
(master)
Steps to reproduce the failure:
1. Create a calc document in a subdirectory, e.g.:
/home/user/test/calcdoc.ods
2. Make sure the “save URLs relative to file system” option is enabled (it is
normally enabled by default):
Tools → Options → Load/Save → General → Save → “save URLs relative to file
system”
3. In the calc document insert a hyperlink to any other document in the same
folder, e.g.:
Insert → Hyperlink → Document → Document Path: /home/user/test/hyperlinked.pdf
4. Save and Reopen the calc document and check the hyperlink by Ctrl-Click on
it, the hyperlinked.pdf should be opening no problem.
5. Create a symbolic link to the calc document for instance from the desktop:
/home/user/Desktop/calcdoc.ods → /home/user/test/calcdoc.ods
6. Open the calc document by clicking on the symlink
/home/user/Desktop/calcdoc.ods and try to open the hyperlinked.pdf by
Ctrl-Click on it.
The hyperlinked pdf cannot be opened because the path to the hyperlinked.pdf
has been changed to the symlink path:
/home/user/Desktop/hyperlinked.pdf (wrong)
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs