Closed Bug 347642 Opened 18 years ago Closed 11 years ago

Attached Word Doc in IMAP message corrupted during download

Categories

(Thunderbird :: Mail Window Front End, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bpanulla, Unassigned)

Details

(Keywords: dataloss, testcase)

Attachments

(6 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: version 1.5.0.5 (20060719) on Mac OS X 10.4.7 on Intel (MacBook Pro)

Starting around 7/31 I began to have problems viewing some attached MS Word Doc files from Thunderbird. Either double-clicking the attachment in the message window, or choosing Save As and then double-clicking file from desktop results in a file Word is unable to read (I'm prompted by Word to choose the file format from a list of random things like RTF and old MS Word versions).

If I connect to the same IMAP account with Mail.app, and read the same message, I am able to open the Word document without an issue.

This does not happen with all Word doc attachments -- some open fine. But the ones that do not open *always* fail to open on repeated attempts, but continue to open fine from Mail.app.

I have reinstalled Microsoft Office to no avail.

IMAP account is on a Microsoft Exchange 2003 server.

Reproducible: Always

Steps to Reproduce:
1. Open IMAP message with attached Word document
2. Double-click attachment to open, or Save As... to desktop and open from there
Actual Results:  
MS Word 2004 launches, but prompts with Convert File: dialog box:

Text only
MS-DOS text
Rich-Text Format
etc...



Expected Results:  
File should open properly in Word
This should be the proper version of the file.
Microsoft Exchange not always play nicely with IMAP and third-party clients there are few bugs involving corruption of attachments.
Also please try current 2.0.0.12
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Send with Apple Mail
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19
I suspect what's more interesting to see is the overall message containing the attachment, not just the attachment, to see if this is an apple double encoding issue. Can you save the original message with the attachment as a .eml file and attach that here?
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INCOMPLETE → ---
I ask my friend to send it again, and than this happened ... :)
The attachment is the Thunderbird process and memory information.

( and i have two PDF documents with corruption, if i download them with a browser it is OK, this events is started a weeks ago )
Attachment #603444 - Attachment mime type: application/octet-stream → text/plain
It looks like your offline store or disk cache is corrupted - the end of the message is missing. If you repair the index (which will delete the offline store and cause us to refetch everything, including message bodies), does that fix the issue? Folder properties, repair folder button. If you don't want to cause a redownload of everything in that folder, you can copy the message in question to an other folder with fewer messages and then just repair the index of the smaller folder.
I send myself a doc and a pdf, ... the same corruption. Problem is local 
Yes the folder repair was SOLVED the corruption, but i need to do it every time when i get an attachment. My suspect is an MTA, and found a message RFC 5746 ( CVE-2009-3555 ) in error console.

Maybe it is too old: 
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19

I will test this version next time 'thunderbird-10.0.2.tar.bz2', thank you i still love it:
dossy, joe, can you test this?
Assignee: mscott → nobody
Severity: normal → critical
Flags: needinfo?(dossy)
Keywords: dataloss, testcase
Tested using Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Thunderbird/22.0a1
with original test attachment provided. Seemed to work fine for me, however I've seen some recent reports of truncated image files received using IMAP Sooo ?
Looking at attachment #603444 [details], it's missing the final terminating boundary line, that should have been "--001636c5bd41fd3ee604ba602a38--" -- not sure if this is a copy/paste error, or an IMAP issue, or what.

How can I reproduce this bug?  Take one of the Word docs attached here and email it to myself, then try to fetch it via IMAP using TB?
Flags: needinfo?(dossy)
I just took AA_interviews_mail.doc and emailed it to myself using Apple Mail.app, and fetched it using Thunderbird 17.0.3 on OSX 10.7.5 from a Dovecot IMAP server, saved the attachment and the SHA1 checksums match - the Word doc survived the round-trip 100%.
WFM based on recent comments.

(In reply to Joe Sabash from comment #12)
> Tested using Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101
> Thunderbird/22.0a1
> with original test attachment provided. Seemed to work fine for me, however
> I've seen some recent reports of truncated image files received using IMAP
> Sooo ?

testcase wanted then.
Status: REOPENED → RESOLVED
Closed: 16 years ago11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: