https://bugs.documentfoundation.org/show_bug.cgi?id=92817
Bug ID: 92817
Summary: misleading error on save with empty lock-file ...
Product: LibreOffice
Version: 5.0.0.0.beta1
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
If you unluckily have run out of space, then LibreOffice happily looses your
document data (it appears). But more annoying than that it also then
mis-behaves with an zero-length (or incorrectly populated) lock-file.
If you do:
touch /tmp/.~lock.empty.ods\#
and try to save a file as /tmp/empty.ods
You get this grim error:
"Error saving the document Untitled1:
Object not accessible.
The object cannot be accessed
due to insufficient user rights."
But of course - the user has all rights to both the lock-file, directory etc.
In this case we should show the 'open copy' etc. dialog and carry on.
The log trace from this:
.config/libreoffice/4/user/temp/document_io_logring.txt
for 4.4 says:
Rethrow
/home/timar/core/sfx2/source/doc/objstor.cxx:1325: SaveAs/Export
/home/timar/core/sfx2/source/doc/objstor.cxx:1338: Locking
/home/timar/core/sfx2/source/doc/docfile.cxx:914:
/home/timar/core/sfx2/source/doc/objstor.cxx:2878:
/home/timar/core/sfx2/source/doc/objmisc.cxx:260: Resetting Error.
/home/timar/core/sfx2/source/doc/sfxbasemodel.cxx:3124: Storing failed!
Which to me says the problem most likely lurks aroudn here:
core/sfx2/source/doc/docfile.cxx:914:
(ignoring /home/timar)
Worth digging for this case through the docfile.cxx and locking code - to nail
it I guess =)
Thanks !
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs