Exceptions caused by accepting/declining/updating events multiple times with tabs and new windows

RESOLVED INCOMPLETE

Status

Calendar
E-mail based Scheduling (iTIP/iMIP)
RESOLVED INCOMPLETE
9 years ago
5 years ago

People

(Reporter: Parasyte, Unassigned)

Tracking

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1pre) Gecko/20090608 Shiretoko/3.5pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090608 Lightning/1.0pre Shredder/3.0b3pre

Event invitations can be processed multiple times, causing a wide array of exceptions in Lightning. Tested with nightly Lightning build as of 20090608 on Windows XP, and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090608 Lightning/1.0pre Shredder/3.0b3pre

Reproducible: Always

Steps to Reproduce:
1. Enable Message Pane (press F8 if it is hidden)
2. Send an event invitation to yourself (from a different Thunderbird profile with a different set of calendars, or a different mail client)
3. Open the email in a new window
4. Press the "accept" button in the new window, and close the window
5. The calendar bar in the Message Pane still has the accept button showing: Click it to throw some exceptions.

Those buttons are supposed to disappear when reloading the message, but since it was already loaded, the buttons have not been hidden. This can be confusing to some users. The same thing can happen by opening the message multiple times, whether tabs or windows...
(Reporter)

Updated

9 years ago
Version: unspecified → Trunk
Please provide detailed information on the exception. Open Tools > Error Console, copy the message via context menu, and paste it here.
(Reporter)

Comment 2

9 years ago
The exact messages are different depending on what action you are performing (accept/decline/update/etc), the type of event (new invitation, updated event, etc), and which order the buttons are pressed ("accept" both times, "accept" and then "decline", etc ...)

But it's all related to having the blue calendar info bar shown in multiple places (and not updating "globally" after using it)


For simplicity, here is what is shown when receiving a new event, and attempting to accept it twice (using STR in comment #0):


After clicking "Accept" for a second time (eg. in the Message Pane, after accepting in a new window) a modal dialog opens:
> [Title] An error has occured

> Processing message failed. Status: 804a0004.

The error console contains:
> Error: Assert failed: error on iTIP processing

> 2: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calItipUtils.jsm:582] ItipOpListener_onOperationComplete

> 3: [null:0] null

> 4: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calProviderUtils.jsm:567] cPB_notifyOperationComplete

> 5: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calStorageCalendar.js:475] anonymous

> 6: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calStorageCalendar.js:447] anonymous

> 7: [null:0] null

> 8: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calItipUtils.jsm:826] anonymous

> 9: [file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calItipUtils.jsm:846] execOperations

> 10: [chrome://lightning/content/imip-bar.js:303] ltnExecAction

> 11: [chrome://messenger/content/messenger.xul:1] oncommand

> 

> Source File: file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js

> Line: 984



Clicking OK in the modal dialog then adds the following warning to the error console:
> Warning: There has been an error reading data for calendar: Home.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DUPLICATE_ID. Description: ID already exists for addItem



And finally, another (non-modal) dialog opens with more information:
> [Title] An error has occurred

> An error occurred when writing to the calendar Home!

> [Button] Details...

> Error code: MODIFICATION_FAILED

> Description:


And the error console also shows the following:
> Error: An error occurred when writing to the calendar Home! Error code: MODIFICATION_FAILED. Description: 

> Source File: file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm -> file:///C:/Documents%20and%20Settings/osterj/Application%20Data/Thunderbird/Profiles/cpnavajo.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js

> Line: 963
Jason, does this still happen with the latest 1.0b2pre nightlies?

Comment 4

8 years ago
no response to questions in previous comment, so => incomplete.
if you still see the problem in the newest version, please comment in the bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE

Comment 5

5 years ago
Hi,

I keep seeing the same error. Here some detailed info:

Thunderbird version:
X-Mailer Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Lighting version:
the latest (I don't know hot to check the build identifier, however named version is 1.9)

Issue:
When trying to a calendar with multiple events, I receive the error message:
Processing message failed. Status: 804a0004

Error console output:
Timestamp: 02/15/2013 10:33:50 AM
Error: Assert failed: error on iTIP processing
2: [resource://calendar/modules/calItipUtils.jsm:923] ItipOpListener_onOperationComplete
3: [resource://calendar/modules/calProviderUtils.jsm:650] cPB_notifyPureOperationComplete
4: [resource://calendar/modules/calProviderUtils.jsm:664] cPB_notifyOperationComplete
5: [file:*****/.thunderbird/sdq097yy.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calStorageCalendar.js:450] cSC_adoptItem
6: [file:*****/.thunderbird/sdq097yy.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calStorageCalendar.js:422] cSC_addItem
7: [resource://calendar/modules/calItipUtils.jsm:1308] null
8: [resource://calendar/modules/calItipUtils.jsm:1328] execOperations
9: [chrome://lightning/content/imip-bar.js:193] ltnExecAction
10: [chrome://messenger/content/messenger.xul:1] oncommand

Source File: resource://calendar/modules/calUtils.jsm -> file:*****/.thunderbird/sdq097yy.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 1105

Immediately followed by:

Timestamp: 02/15/2013 10:33:50 AM
Error: An error occurred when writing to the calendar Home! Error code: MODIFICATION_FAILED. Description: 
Source File: resource://calendar/modules/calUtils.jsm -> file:*****/.thunderbird/sdq097yy.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js
Line: 975

Here the exactly (with obfuscated mail addresses) .ics file:

BEGIN:VCALENDAR
PRODID:-//Events Calendar//iCal4j //EN
CALSCALE:GREGORIAN
VERSION:2.0
NAME:Temp name
BEGIN:VEVENT
DTSTAMP:20130215T085614Z
DTSTART:20130215T095614
DTEND:20130218T095614
SUMMARY:Mock Event
UID:20130215T085616Z-uidGen@fe80:0:0:0:eae0:b7ff:fe7c:625e%2
DESCRIPTION:Reminder test
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Attendee 1:mailto:*****
ORGANIZER:mailto:*****
TZID:Europe/Rome
UID:bf1111111
BEGIN:VALARM
TRIGGER:PT20H
ACTION:DISPLAY
DESCRIPTION:Mock reminder
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20130215T085614Z
DTSTART:20130221T095614
DTEND:20130224T095614
SUMMARY:Mock Event 2
UID:20130215T085617Z-uidGen@fe80:0:0:0:eae0:b7ff:fe7c:625e%2
DESCRIPTION:Reminder test 2
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Attendee 1:mailto:******
ORGANIZER:mailto:******
TZID:Europe/Rome
UID:bf0000000
BEGIN:VALARM
TRIGGER:PT20H
ACTION:DISPLAY
DESCRIPTION:Mock reminder
END:VALARM
END:VEVENT
END:VCALENDAR

Do you need anything else? This is my first bug report, guide me if I did something wrong...
You need to log in before you can comment on or make changes to this bug.