Issue 123108 - Writer fails to open a particular .doc file unless resaved via Word 97
Summary: Writer fails to open a particular .doc file unless resaved via Word 97
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 4.0.0
Hardware: PC Windows XP
: P3 Normal (vote)
Target Milestone: 4.0.1
Assignee: Oliver-Rainer Wittmann
QA Contact: fanyuzhen
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-08-26 16:32 UTC by wrigh
Modified: 2017-05-20 10:33 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.0.1_release_blocker+


Attachments
2 attachments - .doc files before & after passing through word 97 (144.00 KB, application/unknown)
2013-08-26 16:32 UTC, wrigh
no flags Details
patch to solve the defect (1.10 KB, patch)
2013-08-28 12:48 UTC, Oliver-Rainer Wittmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description wrigh 2013-08-26 16:32:49 UTC
Created attachment 81390 [details]
2 attachments - .doc files before & after passing through word 97

Writer reports a read error when attempting to load a particular .doc file. (attached)
It loads it happily if read into word 97 and resaved under another name 

After attempting to load the file and reporting a read error, a lock file has been created
This can only be manually deleted

I don't know the source program that created the .doc file I could try to find out if essential
I have a copy of the resaved file but cannot attach it to this report (only one attachment allowed)


The file attached is not sensitive!!
Comment 1 Edwin Sharp 2013-08-27 06:34:45 UTC
Attachment opens OK in Word 2007.
"Read-Error. Error reading file." with Rev. 1516794 Win 7
Comment 2 Oliver-Rainer Wittmann 2013-08-28 11:38:20 UTC
confirming, too

It is a regression compared to AOO 3.4.1

Defect cause:
Changes to WW8 (Microsoft Word binary file format) import for checking validity were too strict.

Fix in progress.
Comment 3 Oliver-Rainer Wittmann 2013-08-28 12:48:31 UTC
Created attachment 81403 [details]
patch to solve the defect
Comment 4 SVN Robot 2013-08-28 13:01:56 UTC
"orw" committed SVN revision 1518191 into trunk:
123108: WW8 import: further adjustment to the validation check for PLCF posit...
Comment 5 jsc 2013-08-29 13:13:29 UTC
approve showstopper request
Comment 6 SVN Robot 2013-08-29 15:02:25 UTC
"orw" committed SVN revision 1518667 into branches/AOO401:
123108: WW8 import: further adjustment to the validation check for PLCF posit...
Comment 7 Oliver-Rainer Wittmann 2013-08-29 15:05:44 UTC
fixed on trunk and branch AOO401
Comment 8 fanyuzhen 2013-09-06 06:50:30 UTC
@wrigh: I have no word 97, could you please attach the copy of the resaved file as another attachment - click "Add an attachment" in Attachments section
Comment 9 fanyuzhen 2013-09-06 06:55:24 UTC
It's verified fixed in build AOO401m2(Build:9711)  -  Rev. 1518667, open successfully and the lock file will be deleted automatically when close the file.