Created attachment 98976 [details] Contains SDT in header, Watermark in file Steps to reproduce : 1] Open attached file LO 2] Perform save_as to DOCX 3] Open saved file in MS Office-2010 Current behavior : File gets corrupt after Roundtrip. Expected behavior : File should get open successfully in MS Office-2010 after Roundtrip. Issue : Problem is in header1.xml, sdt related.
Reproducible, tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha1+ Build ID: cc4a3f1a88afff114311bddf462ca4bc00a485c7 TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-05-12_09:05:53 Kind regards, Joren
Ravindra Vidhate committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1870ed0e4f63e9c58476e7dcd160e04eb866e0f5 fdo#78659:FIle geting corrupted after Roundtrip due to fieldchar. 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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e4740dbecfce958c2c707d8cc92e6dbe52f4b71b fdo#78659 make testcase minimal 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.
Verified with LO Version: 4.4.0.0.alpha0+ Build ID: 2c61edfdf57dabbd86ecc440444b6b00443f916a TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-05-22_01:02:26 on OSX 10.9.3 file saved under LO 4.4 as docx and docx file opens fine with Word 2011. Tried testing with 4.2.4.2 as well and was unable to even save as docx. "File could not be written." So assuming this is fixed. Please re-open if I'm mistaken.