Closed Bug 372135 Opened 17 years ago Closed 17 years ago

attachments in saved emails (.eml) can not be opened

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: modir, Assigned: Bienvenu)

References

Details

(Keywords: fixed1.8.1.3, regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: version 1.5.0.9 (20061207)

When a saved email (.eml) is opened by double clicking on it then it opens without any problems. But attached files (e.g PDF files) can not be opened. There is always a pop-up window telling me that the file can not be found.

The .eml file itself is OK. I made two different checks. a) opened the .eml with Outlook Express and b) opened the .eml file sent it to me and then opened the attachments in this file. Both times it works.

Reproducible: Always

Steps to Reproduce:
1. Save an email with an attachment
2 [review]. Open it by double clicking on it
3. double click on the attachment
Actual Results:  
I get an error message telling me the file can not be found.

Expected Results:  
Open the attachment.

When I look at the path in the error message I found something that could be the problem. The path looks like this:
<path to eml file>&number=0&part=1.2&<more parameters>

I guess the first "&" should be a "?".

Or maybe this bug is similar to https://bugzilla.mozilla.org/show_bug.cgi?id=174692
Dupe of bug 203570 (via bug 320571)? Tried tb 2.0 beta 2 or a nightly build? 
I tried right now tb2.0 beta 2. And the problem still exists.
Also see bug 371379.
Attached patch possible fixSplinter Review
this fixes the issue for me - the code was changed when I reworked it to add spotlight support, so that we could share the code. But, previously, we rather counted on ignoring this failure, for the attachments in saved eml files case. I'll double check, but I don't think the Spotlight code is going to care.
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #256816 - Flags: superreview?(mscott)
Attachment #256816 - Flags: superreview?(mscott) → superreview+
fixed on trunk and branch - I suspect there are lots of dups of this.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
dupes bug 376805 bug 371379
if they not encounter bug 351064 which is still on in 2 and 3
(In reply to comment #5)
> the code was changed when I reworked it to add
> spotlight support, so that we could share the code. But, previously, we rather
> counted on ignoring this failure, for the attachments in saved eml files case.

hopefully not regress again on vista search integration Bug 430614 :)
It's easy to ignore such a particular case as eml attach in saved eml...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: