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...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: Other Linux (All)
: medium normal
Assignee: Rohit Deshmukh
URL:
Whiteboard: BSA target:4.4.0
Keywords:
Depends on:
Blocks:
 
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:


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

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: 4.4.0.0.alpha0+ 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":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=96dc17221c286dd02772f1dd54b4ffc3c3091b9a

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:
http://wiki.documentfoundation.org/Testing_Daily_Builds
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