Bug 113047 - Libreoffice dont open ODS document
Summary: Libreoffice dont open ODS document
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-11 12:27 UTC by Guilherme
Modified: 2018-10-12 12:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document created with iReport (3.25 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-10-11 12:27 UTC, Guilherme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme 2017-10-11 12:27:11 UTC
Created attachment 136907 [details]
Document created with iReport

the ods documment created by iReport dont open in version 5.4.X, only in minors versions.


Open iReport 5.6.0, and create new simple report.

Put anything in report (static text for example).

Alter the preview to use "Open Document Spreadsheet (ODS)".

Click in preview (Button near XML).

When the report open by libreoffice the error occours. "Invalid format", but if you use the version 5.3.6 of Libreoffice, the document open normally.

I have attached a document created for example.
Comment 1 Julien Nabet 2017-10-11 18:40:55 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed these logs:
warn:sc:26333:26333:sc/source/filter/orcus/orcusfiltersimpl.cxx:173: Unable to load styles from xml file! failed to load 
warn:sc.filter:26333:26333:sc/source/filter/xml/xmlwrap.cxx:214: SAX parse exception caught while importing: N3com3sun4star3uno9ExceptionE msg: [file:///home/julien/lo/bugs/113047_ireport/Example.ods line 2]: Extra content at the end of the document

warn:xmlsecurity.comp:26333:26333:xmlsecurity/source/component/documentdigitalsignatures.cxx:281: Error, no XStorage provided
Comment 2 Regina Henschel 2017-10-11 21:52:05 UTC
The manifest.xml lists "Configurations2/" and "Pictures/" and "Thumbnails/thumbnail.png" and "Thumbnails/", but none of them exists.

The file meta.xml is invalid. It is empty besides the XML declaration. A file meta.xml is not required, so why does the producing application writes such stub?

The behavior of previous versions is neither correct. There should be at least a warning for the user, that there is something wrong with the file.
Comment 3 QA Administrators 2018-10-12 03:05:16 UTC Comment hidden (obsolete)
Comment 4 Roman Kuznetsov 2018-10-12 12:21:31 UTC
When I open file from attach, then I see warning window "Incorrect format. Incorrect file format" in 

Version: 6.2.0.0.alpha0+
Build ID: d9ad59da50c1172fe98f94370221c9c1b688200a
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_23:34:44
Locale: ru-RU (ru_RU); Calc: threaded

I think it's right behaviour, as say Regina in comment #2

Status -> WontFix (because file is invalid and user will see warning window about it)