Open Bug 484034 Opened 15 years ago Updated 10 years ago

signed imip: Unable to view e-mail contents or view attachment with some Lotus Notes ics

Categories

(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

People

(Reporter: paulg, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1
Build Identifier: ThunderBird version 2.0.0.21 (20090302) / Lightning 0.9 (build 2008091718)

When you click on a e-mail with an attachment from Lotus Notes, I am unable to view the contents of the e-mail and .ics files themselves. Events are not imported.



Reproducible: Always

Steps to Reproduce:
1.Open TB
2.click on e-mai lwith a Lotus Notes .ics attachment
3 [review].
Actual Results:  
unable to view content of e-mail

Expected Results:  
To see my e-mail and import the event

---snippet from .ics file ---

BEGIN:VCALENDAR
X-LOTUS-CHARSET:UTF-8
VERSION:2.0
PRODID:-//Lotus Development Corporation//NONSGML Notes 7.0//EN
-----end-----

Here is the error messages from the error console.

Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calItemBase.js :: anonymous :: line 741"  data: no]
Source File: file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calItemBase.js
Line: 741

Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calItemBase.js :: anonymous :: line 741"  data: no]
Source File: file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js -> file:///cs/local/packages/thunderbird-2.0.0.21/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calItemBase.js
Line: 741
Component: General → E-mail based Scheduling (iTIP/iMIP)
QA Contact: general → email-scheduling
Version: unspecified → Lightning 0.9
Attachment #368067 - Attachment mime type: application/octet-stream → text/plain
The ics file doesn't pass the iCalendar validator: http://severinghaus.org/projects/icv/?url=https://bugzilla.mozilla.org/attachment.cgi?id=368067

> Sorry, your calendar could not be parsed.
> Error was: Error at line 69: Illegal character in opaque part at index 4: CID:
> Caused by: Illegal character in opaque part at index 4: 
>            CID:<FFFF__=0ABBFFEFDFF8921E8f9e8a93df938690918c0AB@>
More info to help you debug.

When I try Sunbird 0.9 I get the following errors:

---------
Warning: There has been an error reading data for calendar: c152943. Error code: READ_FAILED. Description: 
--------
Warning: There has been an error reading data for calendar: c152943. It has been placed in read-only mode, since changes to this calendar will likely result in data-loss.  You may change this setting by choosing 'Edit Calendar'. Error code: 0x8000ffff. Description: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calItemBase.js :: anonymous :: line 741"  data: no]
-------------
Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calItemBase.js :: anonymous :: line 741"  data: no]
Source File: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calItemBase.js
Line: 741
--------------------
Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [calIRecurrenceItem.icalProperty]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calItemBase.js :: anonymous :: line 741"  data: no]
Source File: file:///tmp/sunbird/components/calItemModule.js -> file:///tmp/sunbird/js/calItemBase.js
Line: 741
-------------------------
Component: E-mail based Scheduling (iTIP/iMIP) → General
Version: Lightning 0.9 → unspecified
(In reply to comment #1)
> Created an attachment (id=368067) [details]
> Cleaned up Lotus Notes .ics file that causes the problem

(In reply to comment #2)
> The ics file doesn't pass the iCalendar validator:
> http://severinghaus.org/projects/icv/?url=https://bugzilla.mozilla.org/attachment.cgi?id=368067
> 
> > Sorry, your calendar could not be parsed.
> > Error was: Error at line 69: Illegal character in opaque part at index 4: CID:
> > Caused by: Illegal character in opaque part at index 4: 
> >            CID:<FFFF__=0ABBFFEFDFF8921E8f9e8a93df938690918c0AB@>

Thank You for the quick reponse! 

:( -  Any other suggestions, our University is big on Lotus Notes ?
(In reply to comment #4)
> (In reply to comment #1)
> > Created an attachment (id=368067) [details] [details]
> > Cleaned up Lotus Notes .ics file that causes the problem
> 
> (In reply to comment #2)
> > The ics file doesn't pass the iCalendar validator:
> > http://severinghaus.org/projects/icv/?url=https://bugzilla.mozilla.org/attachment.cgi?id=368067
> > 
> > > Sorry, your calendar could not be parsed.
> > > Error was: Error at line 69: Illegal character in opaque part at index 4: CID:
> > > Caused by: Illegal character in opaque part at index 4: 
> > >            CID:<FFFF__=0ABBFFEFDFF8921E8f9e8a93df938690918c0AB@>
> 
> Thank You for the quick reponse! 
> 
> :( -  Any other suggestions, our University is big on Lotus Notes ?

Evolution v2.240.0 didn't have any issue viewing the e-mail and importing the invite. 

Can anyone suggest a workaround ? Can I do anything with Thunderbird ?

Thanks
Perhaps this is in fact a Thunderbird message parsing issue, rather than anything to do with Lightning? 

We also have Lotus Notes, and have found what appears to be the same issue, with Thunderbird 2 & 3 and Lightning 0.9pre & 1.0pre (beta 2).

Currently when (signed) invitations from Lotus Notes are included in a mailbox, Thunderbird 3 beta 2 is listing them as having a non-trivial size (~35KB) but not attachments. Opening the mail with Lightning disabled shows no body. Viewing the message source however reveals many mime parts (including no less than three iCalendar sections). With Lightning enabled, the same thing occurs - Lightning does not seem to even be invoked for these mails. (This may also be the case for unsigned invitations - I could not test that today)

Around 9 months ago there was no problem parsing invitation emails from Lotus Notes. I was regularly receiving Notes invitations in Thunderbird 2/Lightning 0.9pre. We did not upgrade Notes - but Thunderbird of course frequently receives updates. Unfortunately I stopped using Lighting in recent months, so did not notice when the ability to parse invitation from Notes actually occurred.

I searched for old (proven) invitation messages in vain. Of course, Lighting rightly deletes these mails once they have been processed. Furthermore, they break the download of imap on windows mobile 5&6 - so I delete them aggressively ;-)

Attached is a message that Thunderbird appears to fail to parse.
I just test this with two identical invitations - one signed, and one unsigned. The problem only occurs with the signed invitation.

Generally, Thunderbird has no problem with parsing signed S/MIME mails. But if the mail is an ITIP/IMIP mail, Thunderbird cannot parse it when it is signed.
This sounds like a Thunderbird problem. Mark, any thoughts about this?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Unable to view e-mail contents or view attachment with some Lotus Notes ics → signed imip: Unable to view e-mail contents or view attachment with some Lotus Notes ics
Andys issue might be related to Bug 431545. Someone should test if email invitations with two or more ics attachments work at all.
IMO different bug -- comment #8 states that the unsigned mail works whereas the signed does not.
FYI: In general multipart iMIP works well, e.g. like google calendar sends out.
Component: General → E-mail based Scheduling (iTIP/iMIP)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: