Bug 108649 - HTML export should write what it can even if exception
Summary: HTML export should write what it can even if exception
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2017-06-20 13:31 UTC by Laurent Godard
Modified: 2023-07-09 03:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
this file leads to a failing xhtml export (317.23 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-06-20 13:31 UTC, Laurent Godard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Godard 2017-06-20 13:31:56 UTC
Created attachment 134163 [details]
this file leads to a failing xhtml export

The attached document has to be exported in xhtml

It contains textual information and a wmf image (possibly pathological)

The wmf image leads to an export failure and no html file is created despite other textual information could be retrieved

expected : generate the xhtml output, even imperfect as it would be better than nothing

To reproduce:

- GUI, xhtml export lead to a message box 'general failure'
- headless command line
$ soffice --headless --convert-to "html:XHTML Writer File:UTF8" --outdir ~/temp  ~/temp/choke_wmf.docx
convert /home/lgodard/temp/choke_wmf.docx -> /home/lgodard/temp/choke_wmf.html using filter : XHTML Writer File:UTF8
Entity: line 5: parser error : xmlSAX2Characters: huge text node
n/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ub
                                                                               ^
Entity: line 5: parser error : Extra content at the end of the document
n/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ub
                                                                               ^
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///home/lgodard/temp/choke_wmf.html> failed: 0xc10)


Please note that the problem is not espacially the wmf image, but that other information are not generated in case of error
Comment 1 Buovjaga 2017-06-27 17:26:03 UTC
Yep.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha0+
Build ID: f808c50c6eece87d515df3b84b1c774395b5d9bc
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 26th 2017

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2018-06-28 02:48:21 UTC Comment hidden (obsolete)
Comment 3 Laurent Godard 2018-06-28 07:31:50 UTC
still present in

Version: 6.0.5.2
Build ID: 1:6.0.5-1
Threads CPU : 8; OS : Linux 4.16; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 4 QA Administrators 2019-06-29 02:58:08 UTC Comment hidden (obsolete)
Comment 5 Laurent Godard 2019-07-08 08:26:05 UTC
still reproducing on

Version: 6.1.5.2
Build ID: 1:6.1.5-3
Threads CPU : 12; OS : Linux 4.19; UI Render : par défaut; VCL: gtk2; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group threaded

- GUI, xhtml export lead to a message box 'general failure'

- command line

$ soffice --headless --convert-to "html:XHTML Writer File" --outdir ~/temp  ~/temp/choke_wmf.docx

Entity: line 5: parser error : xmlSAX2Characters: huge text node
m5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+b
                                                                               ^
Entity: line 5: parser error : Extra content at the end of the document
m5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+bm5//m5uf/5ubn/+b
                                                                               ^
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///home/lgodard/temp/choke_wmf.html> failed: 0xc10(Error Area:Io Class:Write Code:16))
Comment 6 QA Administrators 2021-07-08 03:42:34 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2023-07-09 03:16:10 UTC
Dear Laurent Godard,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug