Summary: | No appropriate error message when trying to open a zero-length file | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Tristan Miller <psychonaut> |
Component: | Libreoffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | enhancement | ||
Priority: | low | CC: | jmadero.dev, momonasmon, psychonaut |
Version: | 3.6.0.4 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | ProposedEasyHack | ||
i915 platform: | i915 features: |
Description
Tristan Miller
2012-08-15 19:30:34 UTC
What would you think would be a good message to send? I get this error with 4.2 master: Version Incompatibility Incorrect file version. Anything which indicates that the reason for failure was because the file was zero-length, or more generally because the file format was not valid, would be better than the behaviour I encountered, or the misleading error message you got. Ideas: "Cannot open file: file is zero-length" "Cannot open file: invalid format" Sure - I think that this is an enhancement request and not a bug report - nothing is really broken, just a slightly clearer message. Enhancement Low - seems like a very very unlikely situation and more likely than not just a user error but a clearer message couldn't hurt ProposedEasyHack - probably easy to implement With recent builds of 4.2/master, zero length files are opened in Writer. So I'm closing this bug as WORKSFORME. One problem that was in that scenario is that libreoffice wrote garbage to the file. I fixed it yesterday with http://cgit.freedesktop.org/libreoffice/core/commit/?id=27c3b8bca22353dfdcf4c248539a727522fc4e76. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.