Bug 78886 - FILESAVE: Corrupt: Extra <w:fldChar w:fldCharType="end" /> getting added in hyperlink after RT
Summary: FILESAVE: Corrupt: Extra <w:fldChar w:fldCharType="end" /> getting added in h...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: Other All
: medium normal
Assignee: Dinesh
Whiteboard: BSA target:4.3.0
Depends on:
Reported: 2014-05-19 07:02 UTC by Dinesh
Modified: 2014-05-22 07:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

File contains hyperlink, fldchar, sdt (118.50 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-05-19 07:02 UTC, Dinesh

Note You need to log in before you can comment on or make changes to this bug.
Description Dinesh 2014-05-19 07:02:36 UTC
Created attachment 99300 [details]
File contains hyperlink, fldchar, sdt

Problem description: 
Corruption: After RT extra <w:fldChar w:fldCharType="end"/> tag is getting added in hyperlink causing file to corrupt

Steps to reproduce:
1. Open the file in LibreOffice
2. Click File -> Save As (Microsoft Word 2007/2010 (.docx))
3. Open saved file in MS Office

Current behavior:
File is getting corrupt after RT

Expected behavior:
File should open without any error
Operating System: All
Version: Master
Comment 1 Jorendc 2014-05-20 17:31:41 UTC
Repro Version:
Build ID: cd11bc699ac50af4f560ed5f2e5e7903de0898b8
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-05-20_08:02:54
Comment 2 Commit Notification 2014-05-22 07:47:16 UTC
Dinesh Patil committed a patch related to this issue.
It has been pushed to "master":


fdo#78886 File getting 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:
Affected users are encouraged to test the fix and report feedback.