Bug 112726 - Saving a document as .odt file will fail if it contains a picture that is 404 NOT FOUND.
Summary: Saving a document as .odt file will fail if it contains a picture that is 404...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-28 17:12 UTC by Yang Lifu
Modified: 2017-10-05 17:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
see previous comment (25.14 KB, application/vnd.oasis.opendocument.text)
2017-09-29 17:44 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Lifu 2017-09-28 17:12:03 UTC
Description:
Trying to save a document that I copied from http://www.garysturt.free-online.co.uk/human.htm that contains the image mot5.gif, then there is this error message "write error: error in writing sub-document context.xml"and you can notice this image is 404 not found. Saving in other formats like .doc or .docx is OK. 

Steps to Reproduce:
1.Go to http://www.garysturt.free-online.co.uk/human.htm
2.Select All and paste into libreoffice Writer and save it as .odt
3.Save the file. 

Actual Results:  
Error saving the file. 

Expected Results:
File saves.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Comment 1 Yang Lifu 2017-09-28 17:20:16 UTC
Existing .odt file will keep auto-saving because it cannot be saved when this happens. As a result, one may lose a substantial amount of work in the mean time.
Comment 2 MM 2017-09-28 21:34:19 UTC
Tried different browsers, but no image is shown.
The image already seems missing from the website, so that's why it would be an error 404.
Comment 3 Dieter 2017-09-29 17:43:02 UTC
Tried to reproduce it with the steps from the bug report. I had no problems to save the document. I will add it as an attachment

Version: 6.0.0.0.alpha0+ (x64)
Build ID: 465092047d5fa6ec6dd369372e712d76554570ff
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-09-26_23:16:01
Locale: de-DE (de_DE); Calc: group
Comment 4 Dieter 2017-09-29 17:44:53 UTC
Created attachment 136631 [details]
see previous comment
Comment 5 Yang Lifu 2017-10-01 03:03:40 UTC
Hey, dude, thanks for the reproduction, but I used 5.4.1.2, not 6.0.0.0.
Comment 6 Dieter 2017-10-01 08:44:54 UTC
I tried 6.0.0.0 bcoause it's the newer one. But I also couldn't reproduce it with 5.4.2.2

Version: 5.4.2.2 (x64)
Build-ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 7 Xisco Faulí 2017-10-04 21:24:19 UTC Comment hidden (obsolete)
Comment 8 Yang Lifu 2017-10-05 17:07:16 UTC
The problem is not present in libo-master64-2017-10-04_00.55.56_LibreOfficeDev_6.0.0.0.alpha0_Win_x64.