Bug 128522 - Error for non-existing hyperlink .TXT file "path is not an absolute uRL...:" should instead say "file does not exist"
Summary: Error for non-existing hyperlink .TXT file "path is not an absolute uRL...:"...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Windows (All)
: low minor
Assignee: Not Assigned
Keywords: bibisectRequest, regression
Depends on:
Reported: 2019-10-31 22:05 UTC by TorrAB
Modified: 2019-12-11 13:12 UTC (History)
0 users

See Also:
Crash report or crash signature:

file with frame (13.61 KB, application/vnd.oasis.opendocument.text)
2019-11-23 23:39 UTC, TorrAB

Note You need to log in before you can comment on or make changes to this bug.
Description TorrAB 2019-10-31 22:05:42 UTC
the error msg
"file:///G:/…"is not an absolute uRL that can be passed…
is misleading. It happens simply when the path does not exist, eg, because the file has been renamed.
Comment 1 TorrAB 2019-11-15 04:27:08 UTC
If the file is missing, just say 'path does not exist' instead of this complicated and abstruse message about some absolute URL…
Comment 2 Timur 2019-11-22 16:02:00 UTC
We have bug 125607. And message is not wrong like you say here. 
Please give exact situation and attach example files.
Comment 3 TorrAB 2019-11-23 23:39:26 UTC
Created attachment 156069 [details]
file with frame
Comment 4 QA Administrators 2019-11-24 03:37:30 UTC Comment hidden (obsolete)
Comment 5 Timur 2019-11-24 07:29:43 UTC Comment hidden (obsolete)
Comment 6 TorrAB 2019-11-24 12:06:56 UTC
(In reply to Timur from comment #5)
> Please don't assume that someone will guess what you meant, and explain
> steps, experienced and expected results.

Maybe I forgot to make this comment —sorry:

	Open URL.odt. Format>Frame&Object>Properties, tab Hyperlink, Browse; choose any file in your computer —eg, a .txt file; hit OK. ^click the frame: the text file opens (eg, via Notepad), which (presumably) implies that the URL is 'absolute' and 'can be passed…'.
	Reopen the hyperlink property, change the filename to a non-existent one —eg, alter one character; hit OK. ^click the frame: The error msg pops. Yet, the problem has nothing to do with the URL not being 'absolute'; it is just that the file does not exist.
Comment 7 Timur 2019-11-24 12:38:51 UTC
For missing .ODT, .ODP.. hyperlink message is correct: file does not exist. 
It's just for missing .TXT (I can't say for what else) that I get wrong error as reported.
Tested only in Windows. No repro 6.0, repro Lo 6.1 and LO 6.5+.