Created attachment 98971 [details]
Attached file contains on hyperlink with field PAGEREF inside it.
If File contains PAGEREF field inside hyper-link, LO exports corrupt document.
Steps to reproduce:
1. Open attached document on latest LO master.
2. Save opened file as .docx file.
3. Open saved file on MS Office
MS Office shows file corruption dialogue box if tried to open saved file.
MS Office should open saved file properly without any corruption.
Operating System: Windows 7
sushil_shinde committed a patch related to this issue.
It has been pushed to "master":
fdo#78654 LO was exporting corrupt docx file.
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.
I do not get any error message after saving the test file to a new docx file and then opening the saved file with Word 2011 on OSX 10.9.3 with LO
Build ID: 61b2ae31c6642e09b3052599ae22077e8d41eabd
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-05-20_23:56:34
If anybody does have windows MS Office, please test there too. I was able to save to docx under win 8.1, but since I do not have MS Office for windows I cannot test to see if that still throws any errors.
(In reply to comment #4)
> If anybody does have windows MS Office, please test there too. I was able to
> save to docx under win 8.1, but since I do not have MS Office for windows I
> cannot test to see if that still throws any errors.
Tested using Windows 8.1 and opened RT file using Word 2013 -> No errors anymore. So I also can verify :-).