[Libreoffice-bugs] [Bug 140875] New: Writer tries to check whether a non-existent file is encrypted
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 8 11:21:07 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=140875
Bug ID: 140875
Summary: Writer tries to check whether a non-existent file is
encrypted
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: trivial
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: eyalroz1 at gmx.com
I'm running a new daily build (after a while only running releases). The last
exit from the app may have been a crash, causing writer to want to try offer to
restore documents. Some of those documents still exist, some do not. In
particular, a document named /tmp/a01.odt no longer exists.
Now, I get the following log message:
warn:sfx:8143:8143:sfx2/source/control/recentdocsview.cxx:90: caught exception
trying to find out if doc <file:///tmp/a01.odt> is encrypted:
com.sun.star.ucb.InteractiveAugmentedIOException message: an error occurred
during file opening Code: 22
this shouldn't happen, because LO should first figure out whether a file even
exists before trying to check whether it's encrypted.
Even if, somehow, this check were allowed to assume the file exists generally
(which again IMHO it shouldn't), then certainly that should not be the case for
a file in the temporary directory, after a significant amount of time in which
the app has not run, when it is now coming up again.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210308/ea0fba41/attachment.htm>
More information about the Libreoffice-bugs
mailing list