Open Bug 1680924 Opened 4 years ago Updated 3 years ago

Message body cannot be viewed if calendar invitation is attached

Categories

(Thunderbird :: Message Reader UI, defect)

defect

Tracking

(Not tracked)

People

(Reporter: pjl, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Steps to reproduce:

Open a message that contains an .ics attachment

Actual results:

The message body is not displayed, and the user is given the impression that the message only contains a calendar invitation, and that the sender failed to include promised information in the message, resulting in a confusing discussion because the sender knows that they did indeed send more than just a meeting invitation. Recipient is unable to view the message body except in "plain text" message viewing mode, which is essentially unreadable, and not something that most users would even think to try.

Expected results:

All message body parts should be displayed.

Note: this is marked as a defect because it is essentially a data loss bug from the user's perspective.

Component: Untriaged → Message Reader UI
Attached file reproducer.eml

Here's an EML file that will reproduce the bug. The cause appears to be broken text markup parsing which sometimes matches a slash preceded by space as the beginning of italic highlight with the closing slash being wrongly matched in the middle of a URL. It'll then produce the following errors in Error Console and display the e-mail body as empty:

chrome://lightning/content/lightning-invitation.xhtml : Unable to run script because scripts are blocked internally. 2
XML Parsing Error: not well-formed
Location:
Line Number 1, Column 444:
chrome://lightning/content/lightning-invitation.xhtml : Unable to run script because scripts are blocked internally. 2
XML Parsing Error: not well-formed
Location:
Line Number 1, Column 444:
SyntaxError: An invalid or illegal string was specified ltnInvitationUtils.jsm:109

(I haven't tested)

Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: