Bug 81946

Summary: FILESAVE : File gets corrupt when saved as .docx
Product: LibreOffice Reporter: Priyanka Gaikwad <priyanka.gaikwad>
Component: BASICAssignee: Priyanka Gaikwad <priyanka.gaikwad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: enrico.cupellini, jorendc
Version: 4.4.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard: target:4.4.0
i915 platform: i915 features:
Attachments: Docx with SDT content inside header

Description Priyanka Gaikwad 2014-07-31 06:51:15 UTC
Created attachment 103727 [details]
Docx with SDT content inside header

File corrupts after RT

Steps to reproduce:
1] Open attached file in LO
2] Perform save_as
3] Open saved file in MS Office 2010 

Current behavior :
File should get open in MS Office 2010 without any corruption

Expected behavior :
RT file corrupt while opening in MS Office 2010
Comment 1 Jorendc 2014-07-31 09:07:48 UTC
Synerzip -> NEW
Comment 2 Commit Notification 2014-08-08 07:58:18 UTC
PriyankaGaikwad committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3293bfff71748af714b7dfde50476d4db86510d2

fdo#81946 Corrupt : DOCX file getting corrupt after RT



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 3 Jorendc 2014-09-01 08:29:06 UTC
Fix applied + Unit test -> RESOLVED FIXED

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.