Closed
Bug 259480
Opened 20 years ago
Closed 12 years ago
non-displayable "text/calendar" entries of multipart/alternative messages are completely hidden.
Categories
(MailNews Core :: MIME, enhancement)
MailNews Core
MIME
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 505024
People
(Reporter: keith.hopkins, Unassigned)
References
(Blocks 1 open bug)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Moz1.7.2 hides text/calendar of multipart/alternative messages (from MS-Exchange 200x) because it does not know how to display them. "Unknown" or non-displayable types should not be hidden, but should be shown as attachments. Reproducible: Always Steps to Reproduce: example msg: (bits) [beginning of msg] [header] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4995B.04833D80" Content-class: urn:content-classes:calendarmessage [header] This is a multi-part message in MIME format. ------_=_NextPart_001_01C4995B.04833D80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable [plain text content] ------_=_NextPart_001_01C4995B.04833D80 Content-class: urn:content-classes:calendarmessage Content-Type: text/calendar; method=REQUEST; name="meeting.ics" Content-Transfer-Encoding: 8bit [vcalendar entry] ------_=_NextPart_001_01C4995B.04833D80-- [end of msg] Actual Results: "Content-Type: text/calendar;" is completely hidden if some other content is displayable. Expected Results: Fix: Display as attachment. (alt fix: see http://bugzilla.mozilla.org/show_bug.cgi?id=130119) Enhance: If a text/calendar type is detected, and Calendar(Sunbird) is integrated into Moz/Tbird, create a button/popup/icon in the window to export the text/calendar part into Calendar. Related items: http://bugzilla.mozilla.org/show_bug.cgi?id=130119#c4 and http://bugzilla.mozilla.org/show_bug.cgi?id=142092#c4
Updated•20 years ago
|
Product: MailNews → Core
Comment 1•20 years ago
|
||
I can confirm that this happens, but isn't the point of alternative parts to have a failback for browsers that don't support some of these functions? I do see the RFE for recognizing and exporting vcalendar items and will confirm that. Status->new HW->All OS->All Severity->enhancement
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Reporter | ||
Comment 2•20 years ago
|
||
The problem is how Mozilla decides which part to display, and which part to hide. Is there some standard that says use first recognizable and ignore the rest? or is it an internal design decision for Moz? If I install a calendar plugin, can that plugin tell Moz to utilize text/calendar; types instead of text/plain; types? (If so, maybe I need to log this bug against the calendar/sunbird project, because they are not doing it.)
Comment 3•20 years ago
|
||
It's supposed to chose the best form that it knows how to handle. It will choose HTML over text, for example. From http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html, section 7.2.3: 'The user agent should either choose the "best" type based on the user's environment and preferences, or offer the user the available alternatives. In general, choosing the best type means displaying only the LAST part that can be displayed.'
Comment 4•18 years ago
|
||
*** Bug 336436 has been marked as a duplicate of this bug. ***
Comment 5•17 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Updated•16 years ago
|
QA Contact: mime
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•15 years ago
|
Blocks: multipartfailtracker
Comment 6•14 years ago
|
||
I believe Bug 505024 is a duplicate of this bug, but it has seen a bit more detailed investigation.
Comment 7•14 years ago
|
||
Keith this might have been fixed by bug 351224. Could you take a few minutes and download the latest nightly ( http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-central/ ), backup your profile and test and let us know if this is fixed or not ?
Comment 8•13 years ago
|
||
I still have this problem using Thunderbird-3.1.10
Comment 9•13 years ago
|
||
Actually, once I uninstalled the old Lightning add-on, the problem disappeared... I wish, Lightning actually worked with modern Thunderbird, but that's another story.
Comment 10•13 years ago
|
||
The problem we are experiencing at work is the Exchange server generates the text/html and text/plain alternates for calendar event invitations and these alternatives are blank! "<html> ...<meta name="Generator" content="Microsoft Exchange Server"> ...<div> </div> ...</html>" Since Thunderbird without Lightning will ignore text/calendar, it correctly displays this blank html message. So i recommend that if Thunderbird sees text/calendar that at least it tells the user there is a preferred format. This gives the user the option of installing extensions. This could probably be added generically for any type of file.
Comment 11•13 years ago
|
||
BTW, with the Lightning extension, the text/calendar alternative is displayed and appears to be working fine.
Comment 12•13 years ago
|
||
(In reply to comment #10) > The problem we are experiencing at work is the Exchange server generates the > text/html and text/plain alternates for calendar event invitations and these > alternatives are blank! Really, that sounds like an Exchange bug, since it's essentially lying by providing a blank part as an "alternative". However, this can be worked around via bug 602718. Personally, I think that's sufficient, since Exchange really needs to get their act together in this regard, and there's only so much that other clients should have to do to accommodate its broken behavior.
Comment 13•13 years ago
|
||
Actually, often the alternative is NOT blank. It is used by Outlook to display comments that accompany the invitation. In this specific case, I suggest this kind of mails (even if they arguably do not conform to all standards, as Microsoft occasionally does) should not be handled as multipart/alternative but rather as multipart/mixed.
See Also: → https://launchpad.net/bugs/849416
Comment 14•13 years ago
|
||
I cannot modify the status, but I find it strange that a regression from a user's standpoint (not being able to see when you are invited to a meeting, while it was possible in earlier versions of mozilla) has importance "enhancement". For a user, this is a regression bug. I cannot modify the importance. Who judges ?
Comment 15•12 years ago
|
||
Duping this to the bug where I'm fixing the issue (and which has test cases).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•