Bug 83044 - FILESAVE: File gets corrupted after roundtrip due to w:text has a wrong child w:docPartGallery and w:docPartUnique
Summary: FILESAVE: File gets corrupted after roundtrip due to w:text has a wrong child...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: Other Linux (All)
: medium normal
Assignee: Rohit Deshmukh
Whiteboard: BSA target:4.4.0
Depends on:
Reported: 2014-08-25 07:26 UTC by Rohit Deshmukh
Modified: 2014-09-01 08:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Original file (25.36 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-08-25 07:26 UTC, Rohit Deshmukh

Note You need to log in before you can comment on or make changes to this bug.
Description Rohit Deshmukh 2014-08-25 07:26:30 UTC
Created attachment 105217 [details]
Original file

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

Current behavior :
File gets corrupt.

Expected behavior :
File should open in MS office 2010 without any error.

Operating System: Ubuntu
Version: Master
Comment 1 Commit Notification 2014-08-29 08:09:41 UTC
Rohit Deshmukh committed a patch related to this issue.
It has been pushed to "master":


fdo#83044:Fix for corruption of file with SDT content.

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:
Affected users are encouraged to test the fix and report feedback.
Comment 2 Jorendc 2014-09-01 08:27:37 UTC
Fix applied + Unit test -> RESOLVED FIXED