Description: When a Word-made DOCX file containing a simple chart is saved in Writer twice without reloading the resulting file is reported unreadable by Word 2016, but not by Word 2010. Steps to Reproduce: 1. Open attached document in Writer 2. Modify it by adding a paragraph, save it. 3. Continue editing without reloading – this is the important part. 4. Add one more paragraph, save the file. 5. Close the file and open it in Word 2016 Actual Results: Word 2016 reports unreadable contents. This is because Writer created a 0 length xlsx file in word/embeddings. Word 2013 does not complain, and Writer can reopen the file fine too. Expected Results: Word 2016 opens the file fine. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha0+ (x64) Build ID: cf96cb11e2a46c452a273ded1c66c556118983cf CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; Locale: hu-HU (hu_HU); UI-Language: en-US Calc: CL Also happens in: Version: 4.3.0.4 Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0 But there was no word/embeddings folder exported in: Verzió: 4.2.0.4 Build az.: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Created attachment 158616 [details] Example file from Word
Created attachment 158617 [details] The example file after saving twice in Writer
Created attachment 158618 [details] Opening the file in Word 2013 works
Created attachment 158619 [details] Opening the file in Word 2016 does not work
I confirm it with Version: 7.0.0.0.alpha0+ (x64) Build ID: 5dcbd1bb557450a2d658a710c163b310c0cee157 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GB Calc: CL
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b115d4899d827f885f7d35ced4cb64d2385e3422 tdf#131288 Chart: fix export of embedded xlsx It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Balazs Varga committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/2a755d748aecd65d1a3d0c2685678a85472481cd tdf#131288 Chart: fix export of embedded xlsx It will be available in 7.0.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Adam Seskunas committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/25107330fbc5b79a4ae8bad9d1433cb28bd8b765 tdf#131288 Add Unit test It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.