incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120309] New: writer fails to recognize/open docx file if filename has .doc extension (warning loops)
Date Wed, 18 Jul 2012 18:16:56 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120309

          Priority: P3
            Bug ID: 120309
          Assignee: ooo-issues@incubator.apache.org
           Summary: writer fails to recognize/open docx file if filename
                    has .doc extension (warning loops)
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: drankinatty@suddenlinkmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.0
         Component: open-import
           Product: word processor

Created attachment 78681
  --> https://issues.apache.org/ooo/attachment.cgi?id=78681&action=edit
contains docx-warning.jpg docx-warning2.jpg PERINNIAL.doc

When opening a MS docx file with a '.doc' extension AOO 3.4 writer displays a
warning that the file is corrupt and cannot be opened and asks to repair the
file. (see docx-warning.jpg included in attachment) If you choose 'NO', writer
then says that the document could not be repaired and cannot be opened. (see
docx-warning2.jpg) (you should also delete 'therefore' from the warning -- it
is superfulous) The file PERINNIAL.doc is also included in the attachment.

However, instead of closing the file-open dialog and returning to the blank
document, writer then immediately displays docx-warning.jpg again, followed by
docx-warning2.jpg. It then loops another time with docx-warning.jpg followed by
docx-warning2.jpg. At this point, I was considering manually killing the writer
process from the command line. But, I kept cycling through the dialogs choosing
'NO" each time when offered to repair, then suddenly, the document just opened
in writer. There is a bug in the way writer handles docx files with a .doc
extension.

writer - Expected Behavior

(1) it should be able to determine it is actually a .docx file even though the
extension is .doc. It should then handle the .docx file properly

(2) if the user chooses 'NO' when prompted to repair, then writer should quit
trying to repair the document and simply display the blank 'new document' page.

writer does correctly handle the file if the file is renamed from .doc to .docx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message