Created attachment 98549 [details] The file contains a group shape and a title SDT content inside the header. Problem description: After doing the initial phase of analysis, we can say that the corruption might get introduced due to changes in header.xml Steps to reproduce: 1. Open file in LibreOffice 2. Click File -> Save As (Microsoft word 2007/2010(.docx)) 3. It saves as .docx 4. Open the same file again which got roundtripped. Current behaviour: The file should open properly after roundtrip. Expected behaviour: It gives a message "The file cannot be opened because there are problems with the contents". Operating System: All Version: 4.3.0.0.alpha1
Created attachment 98550 [details] RoundTrip file
Umesh Kadam committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=80fd9fb7209cfd5c0622ee99d59e42e6db32f021 fdo#78333 : SdtContent and a Shape overlapping causes corruption 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.
Still corrupted after roundtripping. Tested using Windows 8.1 with LibreOffice Version: 4.4.0.0.alpha0+ Build ID: 16ba360f2a526654cedfcd4cda230442c3a8a522 TinderBox: Win-x86@39, Branch:master, Time: 2014-05-25_07:43:52 Kind regards, Joren
Created attachment 99805 [details] Roundtripped file using LibreOffice version including fix; still corrupt in Word 2013
No repro anymore (Version: 4.4.0.0.alpha0+ Build ID: 4af1b789545bc3815f79fafed5b1806b3c08b69d TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-06-14_14:53:36)