Bug 103988 - FILESAVE: DOCX with chart corrupted after roundtrip, cannot open in MSO
Summary: FILESAVE: DOCX with chart corrupted after roundtrip, cannot open in MSO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:6.1.0 target:6.0.0.1 target:5.4.5
Keywords: bibisected, filter:docx, regression
Depends on:
Blocks: OOXML-Chart DOCX-Corrupted
  Show dependency treegraph
 
Reported: 2016-11-17 15:39 UTC by Xisco Faulí
Modified: 2018-05-08 09:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2016-11-17 15:39:50 UTC
1. Open attachment 92272 [details]
2. Save it as a new .DOCX
3. Open the new document in MSOffice

Observed behaviour: Corrupted file after roundtrip

Reproduced in 

Version: 5.3.0.0.alpha1+
Build ID: 757a60d01dd152aadab2ba3c8224252481ce8a88
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Layout
Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

but not in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 1 Xisco Faulí 2016-11-17 15:42:26 UTC
Regression introduced in this range:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=1797441c7db545b8f03ed1565d26d296cae5d7ab..5fa0adf25cfcb71129e05e7218cde46874306c15

Adding Cc: to Markus Mohrhard
Comment 2 Markus Mohrhard 2016-11-26 21:14:50 UTC
Corrupted does not tell me anything. The file looks the same after a roundtrip as before.
Comment 3 Timur 2016-11-28 10:31:45 UTC
Open XML SDK Productivity Tool gives 2 errors: 

DocGrid error "attribute charSpace has invalid value 4294965247" in /word/document.xml
Looks like this is added: w:charSpace="4294965247" 

BubbleChartSeries error "invalid child element cat" in /word/charts/chart1.xml


Version: 5.4.0.0.alpha0+
Build ID: 9691cea443a74885b3f81c602efdd3345de1e3f9
TinderBox: Win-x86@39, Branch:master, Time: 2016-11-24_14:26:28


BTW: Please change the Version field after the bibisect, and add the original bug to See Also.
Comment 4 Justin L 2017-04-27 15:53:41 UTC
Corrupted means that MSOffice cannot open the document any more.  Verified that it is still corrupted when roundtripped by 5.4alpha.  Cannot open in MSO2003, MSO2007, MSO2013.
Comment 5 Commit Notification 2017-12-19 16:02:50 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1252f32496193e8ed532de744db31413768b8efa

don't export category info to bubble charts, tdf#103988

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Commit Notification 2017-12-19 19:46:47 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "libreoffice-6-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=423addf8bf0bbc7a2e14faffffcdddd035bc145a&h=libreoffice-6-0

don't export category info to bubble charts, tdf#103988

It will be available in 6.0.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Xisco Faulí 2017-12-26 20:46:06 UTC
Open XML SDK 2.5 no longer complains about the file being corrupted.
However, MSO 2010 still complains about it.
Putting back to NEW
Comment 8 Xisco Faulí 2017-12-26 20:46:30 UTC
Tested in

Version: 6.1.0.0.alpha0+
Build ID: 2bf1cc7372088ec31ac5f0fb60de57feda59d3b7
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded
Comment 9 Commit Notification 2018-01-16 12:12:57 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=eca80d17b9a7d2d8e15c74965de0c78674b00502&h=libreoffice-5-4

don't export category info to bubble charts, tdf#103988

It will be available in 5.4.5.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Xisco Faulí 2018-05-08 09:44:06 UTC
Dear Markus Mohrhard,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assigned it back to yourself if you're still working on this.