Bug 127070 - FILESAVE DOCX File links broken in Word after export
Summary: FILESAVE DOCX File links broken in Word after export
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: medium normal
Assignee: Tünde Tóth
URL:
Whiteboard: target:6.4.0
Keywords:
Depends on:
Blocks: DOCX-Hyperlink
  Show dependency treegraph
 
Reported: 2019-08-21 07:57 UTC by NISZ LibreOffice Team
Modified: 2019-08-21 11:31 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of the problem in Word. (27.99 KB, image/png)
2019-08-21 07:58 UTC, NISZ LibreOffice Team
Details
Example file from Word with a file link. (11.78 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-08-21 07:58 UTC, NISZ LibreOffice Team
Details
The original file saved by Writer. (9.26 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-08-21 07:59 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-08-21 07:57:14 UTC
Description:
File links in DOCX documents are broken in Word after export when the filename contains non-ASCII characters.

Steps to Reproduce:
    1. Create a new document in Microsoft Word 2016.
    2. On the Insert tab, click Hyperlink.
    3. Click Existing File or Web Page under Link to
    4. Choose a filename which contains non-ASCII characters in the Look in list or the Current Folder list.
    5. Click on OK button.
    6. Save the file as DOCX.
    7. Open the same file in LibreOffice Writer and save it as DOCX.
    8. Close the file.
    9. Open the file in MSO.
    10. Ctrl+Click the link.

Actual Results:
The hyperlink doesn’t work.

Expected Results:
The hyperlink should work in Word after export.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.0.0.alpha0+ (x64)
Build ID: 3ab2df3cf755ecd0e3e31ad06872426d24222c31
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: threaded
Comment 1 NISZ LibreOffice Team 2019-08-21 07:58:11 UTC
Created attachment 153544 [details]
Screenshot of the problem in Word.
Comment 2 NISZ LibreOffice Team 2019-08-21 07:58:38 UTC
Created attachment 153545 [details]
Example file from Word with a file link.
Comment 3 NISZ LibreOffice Team 2019-08-21 07:59:03 UTC
Created attachment 153546 [details]
The original file saved by Writer.
Comment 4 Xisco Faulí 2019-08-21 09:49:56 UTC
Patch in gerrit: https://gerrit.libreoffice.org/#/c/77450/
Comment 5 Commit Notification 2019-08-21 10:31:23 UTC
Tünde Tóth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/d053d573d8bb70ba02ed60eecc590485e2e19497%5E%21

tdf#127070 DOCX export:fix encoding of hyperlinks with non-ASCII letters

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.