[Libreoffice-bugs] [Bug 125019] New: Misleading error message for FODT Write Errors. The file could not be written.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 29 08:35:32 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125019

            Bug ID: 125019
           Summary: Misleading error message for FODT Write Errors. The
                    file could not be written.
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: ongaro.f at gmail.com

Description:
When FODT and ODT files are saved from old/incorrect documents XML a misleading
error is shown to the user:

- Error in writing sub-document styles.xml
- The file could not be written
- Generic I/O error

The problem has been tracked down to be an XML issue and not a permission
issue.

In the particular case once valid FODT files become invalid in later
LibreOffice versions and require a certain degree of expertise to be fixed or
even to detect the root cause of the problem.

If needed a detailed thread on users at global.libreoffice.org can be found here:

https://listarchives.libreoffice.org/global/users/msg54342.html

Steps to Reproduce:
1. Download http://paste.arn-fai.net/?2874269 and rename it to foo.fodt
2. Open with Writer
3. Save in FODT or ODT

Actual Results:
A misleading error message is shown. The same error is for permission issues,
profile issues and more. In reality it's an XML validity error.

Expected Results:
The UI is not correctly describing what is an XML error and it should prompt a
more specific error message (for example "Cannot save malformed XML") and maybe
a technical detail could be outputted to in the console.


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20190429/7d661c23/attachment.html>


More information about the Libreoffice-bugs mailing list