Bug 93053 - .doc vs. docx is not autodetected
Summary: .doc vs. docx is not autodetected
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-31 16:33 UTC by Jan Kratochvil
Modified: 2015-07-31 20:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
pozvanka.doc (14.46 KB, application/msword)
2015-07-31 16:33 UTC, Jan Kratochvil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kratochvil 2015-07-31 16:33:17 UTC
Created attachment 117566 [details]
pozvanka.doc

I have found a .docx file saved as .doc file on public web which does not work on LibreOffice.  I expect it works on MS-Office.

Original link:
   https://www.jankratochvil.net/t/pozvanka.doc
   Content-Type: application/msword
   When clicked in Firefox as is or when opened from disk file as .doc:
   The file 'pozvanka.doc' is corrupt and therefore cannot be opened.
   LibreOffice can try to repair the file.
   The corruption could be the result of document manipulation or of structural
   document damage due to data transmission.
   We recommend that you do not trust the content of the repaired document.
   Execution of macros is disabled for this document.
   Should LibreOffice repair the file?
   [Yes]
     The file 'pozvanka.doc' could not be repaired and therefore cannot be
     opened.
     [OK]
     General Error
     [OK]
     <ooffice quits>
   [No]
     The file 'pozvanka.doc' could not be repaired and therefore cannot be
     opened.
     [OK]
     <File gets correctly opened and oofice runs fine.>
Corrected link:
   https://www.jankratochvil.net/t/pozvanka.docx
   Content-Type:
       application/vnd.openxmlformats-officedocument.wordprocessingml.document
   When clicked in Firefox as is or when opened from disk file as .docx:
   <File gets correctly opened and oofice runs fine.>
Comment 1 MM 2015-07-31 20:25:25 UTC
I can open the file without any problems on v4.2.8.2/4.3.7.2/4.4.5.2/5.0.0.4 under mint 17.2 x64 and v4.4.5.2 under windows7 x64.
Comment 2 Jan Kratochvil 2015-07-31 20:29:45 UTC
That is unexpected when you write you tested 4.3.7.2.
I have here only Fedora 21 x86_64: libreoffice-4.3.7.2-9.fc21.x86_64
Comment 3 Jean-Baptiste Faure 2015-07-31 20:45:00 UTC
No problem to open this file with Version: 5.0.1.0.0+
Build ID: f1333692475201ce1be7a037397158051d8bd039
Built at home under Ubuntu_15.04_x86-64 with GCC 5.1
Locale : fr-FR (fr_FR.UTF-8)

No problem too with all versions starting from 4.0.6

Best regards. JBF
Comment 4 Jan Kratochvil 2015-07-31 20:53:13 UTC
I will re-file it to Fedora Bugzilla then.