Closed Bug 301251 Opened 19 years ago Closed 16 years ago

Bad message ID reported for messages that don't have a Message-ID header

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 314990

People

(Reporter: groenjj, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

This is not a problem for end-users, but for extension programmers.

The message ID can be retrieved with the msIMsgHdr.messageId interface. When a
message contains a 'Message-ID' header, this interface works fine, but when
there is no such header, Thunderbird will generate an messageId that should
uniquely identify the message, in the form "md5:"something. However, this ID
isn't unique at all: actually, it's the same for all messages. 


Reproducible: Always

Steps to Reproduce:
1. Download the bug demonstration plugin attached to this bug report
2. Find a message without a 'Message-ID' header. You can do this by right
clicking on a folder, and clicking 'Flag all messages without Message-ID header'
3. Right click on flagged message, and click 'Show message ID'. 
4. Right click on another flagged message, and click 'Show message ID'.
5. Notice that the reported message id's are the same for both messages.
Actual Results:  
Message IDs are equal

Expected Results:  
Message IDs should be different for each message

I'll attach a little thunderbird extension that demonstrates this problem
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → 1.0
The respective code starts at
<http://lxr.mozilla.org/mozilla/source/mailnews/local/src/nsParseMailbox.cpp#1312>,
so very obviously SIMPLE_MD5 isn't defined (anymore?)...
SeaMonkey 20050717 has the same problem -> Core.
 
Status: UNCONFIRMED → NEW
Component: General → MailNews: Backend
Ever confirmed: true
Product: Thunderbird → Core
Version: 1.0 → Trunk
Assignee: mscott → nobody
QA Contact: backend
this was fixed a long time ago...
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: