Open Bug 494642 Opened 15 years ago Updated 2 years ago

content-type order in multipart-message(text/html,text/plain), wrong displaying if "wrong" order used

Categories

(Thunderbird :: Message Reader UI, defect)

x86
All
defect

Tracking

(Not tracked)

People

(Reporter: elmsfeuer666, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Build Identifier: version 2.0.0.21 (20090302)

hi everybody,

i got some messages produced by the same mail-engine (1und1-webmailer) which where displayed wrong in the message-read-ui. after some code-studies, it turns out that if the content-type of a multpart-message(text/html,text/plain) is in the "wrong" order, the message-read-ui displayes only the text/plain part, even if the "view of the message body" is changed to original-html. outlook is able to open the "wrong" diplayed message :-(.

WRONG ORDER: text/html, text/plain
WORKING ORDER: text/plain, text/html

i've already posted the bug in a german forum
http://www.thunderbird-mail.de/forum/viewtopic.php?f=31&t=41066&p=211145#p211145
and it was reproduced by one of the teammembers with the two following examples.

reproduceable examples: content of two different eml-files

//---BEGIN: CONTENT FILE1 "WRONG" view change---//
X-Account-Key: account6
X-UIDL: 0MKpV6-1M7TUK0YCf-000pJ8
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Return-Path: <#######@#######.de>
Delivery-Date: Fri, 22 May 2009 14:04:36 +0200
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187])
	by mx.kundenserver.de (node=mxeu1) with ESMTP (Nemesis)
	id 0MKpV6-1M7TUK0YCf-000pJ8 for #######@#######.de; Fri, 22 May 2009 14:04:36 +0200
Received: from mrmseu1.kundenserver.de (mrmseu1.kundenserver.de [172.19.20.161])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0MKv5w-1M7TUJ49Ga-0001tF; Fri, 22 May 2009 14:04:36 +0200
Return-Path: <#######@#######.de>
Delivery-Date: Fri, 22 May 2009 14:04:13 +0200
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])
	by mx.kundenserver.de (node=mxeu1) with ESMTP (Nemesis)
	id 0MKpV6-1M7TTx3293-000pPt for #######@#######.de; Fri, 22 May 2009 14:04:13 +0200
Received: from mrmseu1.kundenserver.de (mrmseu1.kundenserver.de [172.19.20.161])
	by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis)
	id 0MKv1o-1M7TTx2Sjf-000jAx; Fri, 22 May 2009 14:04:13 +0200
Date: Fri, 22 May 2009 14:04:35 +0200 (CEST)
Message-ID: <1994536118.179613.1242993875632.JavaMail.tomcat55@mrmseu1.kundenserver.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_179599_957733029.1242993864567"
X-Priority: 3
Subject: Re: test test
To: #######@#######.de
X-Provags-ID: V01U2FsdGVkX19D2pp47Y6wHGuCXN+8jznArko+YS68tFeyFUE
 dC2LC6UjflUdIzfsenPrGET60qTMkOrr+bRaq7ddPsxXtDJqYd
 bbjadL5braiv6h5ScvCk3hB9mXwqDIy
From: #######@#######.de
X-Nemesis-Spam: whitelist
Envelope-To: #######@#######.de

------=_Part_179599_957733029.1242993864567
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
	<body>
		<h1>TEXT/HTML</h1>
	</body>
</html>

------=_Part_179599_957733029.1242993864567
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

text/plain

------=_Part_179599_957733029.1242993864567--


//---END: CONTENT FILE1 "WRONG" view change---//



//---BEGIN: CONTENT FILE2 "WORKING" view change---//
X-Account-Key: account6
X-UIDL: 0MKpV6-1M7TUK0YCf-000pJ8
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:                                                                                 
Return-Path: <#######@#######.de>
Delivery-Date: Fri, 22 May 2009 14:04:36 +0200
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187])
	by mx.kundenserver.de (node=mxeu1) with ESMTP (Nemesis)
	id 0MKpV6-1M7TUK0YCf-000pJ8 for #######@#######.de; Fri, 22 May 2009 14:04:36 +0200
Received: from mrmseu1.kundenserver.de (mrmseu1.kundenserver.de [172.19.20.161])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0MKv5w-1M7TUJ49Ga-0001tF; Fri, 22 May 2009 14:04:36 +0200
Return-Path: <#######@#######.de>
Delivery-Date: Fri, 22 May 2009 14:04:13 +0200
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])
	by mx.kundenserver.de (node=mxeu1) with ESMTP (Nemesis)
	id 0MKpV6-1M7TTx3293-000pPt for #######@#######.de; Fri, 22 May 2009 14:04:13 +0200
Received: from mrmseu1.kundenserver.de (mrmseu1.kundenserver.de [172.19.20.161])
	by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis)
	id 0MKv1o-1M7TTx2Sjf-000jAx; Fri, 22 May 2009 14:04:13 +0200
Date: Fri, 22 May 2009 14:04:35 +0200 (CEST)
Message-ID: <1994536118.179613.1242993875632.JavaMail.tomcat55@mrmseu1.kundenserver.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_179599_957733029.1242993864567"
X-Priority: 3
Subject: Re: test test
To: #######@#######.de
X-Provags-ID: V01U2FsdGVkX19D2pp47Y6wHGuCXN+8jznArko+YS68tFeyFUE
 dC2LC6UjflUdIzfsenPrGET60qTMkOrr+bRaq7ddPsxXtDJqYd
 bbjadL5braiv6h5ScvCk3hB9mXwqDIy
From: #######@#######.de
X-Nemesis-Spam: whitelist
Envelope-To: #######@#######.de

------=_Part_179599_957733029.1242993864567
Content-Type: text/plain;charset=UTF-8
Content-Transfer-Encoding: quoted-printable

text/plain

------=_Part_179599_957733029.1242993864567
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
	<body>
		<h1>TEXT/HTML</h1>
	</body>
</html>

------=_Part_179599_957733029.1242993864567--


//---END: CONTENT FILE2 "WORKING" view chage---//

thanks for reading and maybe solving :-)

cheers
elmsfeuer

Reproducible: Always

Steps to Reproduce:
1.open one of the mail-examples possed in the bug message
2.try to change the view of the message body
Actual Results:  
"wrong"-example: only text/plain is displayed even if the view of message-body is changed.
"working"-example: possible view-change of the content-types

Expected Results:  
the view of the example should be possible to change to every content-type existing in the message-source.
Version: unspecified → 2.0
Can you attach such a messages saved in .eml format to this bug please ?
The read-ui will display the right content-type even if you switch the content-type with "Message Body As".
The read-ui will display the WRONG content-type even if you switch the content-type with "Message Body As".
Confirming with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090618 Shredder/3.0b3pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Version: 2.0 → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: