Description: After opening a DOCX file containing two empty drawing canvas in Writer and save back to DOCX format, MS Word can't open the saved DOCX file. Steps to Reproduce: 1.Open the attached DOCX in Writer 2.Save it as a new DOCX file 3.Open the Writer saved DOCX with MS Word Actual Results: MS Word can't open the exported document: ... cannot be opened because there are problems with the contents. [ OK ] [ Details <<< ] Details: The parameter is incorrect. Location: Part: /word/document.xml, Line: 2, Column: 0 Expected Results: MS Word opens the document. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Created attachment 128132 [details] Testfile with two canvases
COnfirmed in Version: 5.3.0.0.alpha0+ Build ID: 8974b0fafb18f9dd3f2c0e175a3255b80e4c249e CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; Locale: ca-ES (ca_ES.UTF-8); Calc: group and Word 2010
Regression introduced by author Andras Timar <andras.timar@collabora.com> 2015-02-05 21:36:24 (GMT) committer Miklos Vajna <vmiklos@collabora.co.uk> 2015-02-06 09:37:36 (GMT) commit b1751e6ed0fd6d6d26141e4405df92520e3c04cd (patch) tree b82f085ec097c05c731309cb02dbe6318aaae7d0 parent 2c03d6fb053319e61ed600a3c22c4fd39da84e4d (diff) bnc#637947 improve DrawingML export of custom shapes Adding CC: to Andras Timar
Tamás Zolnai committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f7c61b08d526c79ecd1522dff79386059b6125e0 tdf#103389: Resaving a DOCX document with two canvases leads to a broken file. It will be available in 5.3.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.
Tamás Zolnai committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bc5c51e547e8ea971f90003657509848cc358724&h=libreoffice-5-2 tdf#103389: Resaving a DOCX document with two canvases leads to a broken file. It will be available in 5.2.4. 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.