Closed Bug 686444 Opened 14 years ago Closed 11 years ago

Updating an existing event (where METHOD:PUBLISH) is not handled correctly.

Categories

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

Lightning 1.0b5
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: alexis.oconnor, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Build ID: 20110902133214 Steps to reproduce: I successfully created an event in my calendar using the following iCal (as per iTIP: 'A Minimal Published Event' - http://tools.ietf.org/html/rfc5546#section-4.1.1): BEGIN:VCALENDAR PRODID:-//Events Calendar//iCal4j 1.0//EN CALSCALE:GREGORIAN METHOD:PUBLISH VERSION:2.0 BEGIN:VEVENT DTSTAMP:20110912T143340Z DTSTART:20110913T150000 DTEND:20110913T160000 SUMMARY:A sample test event. TZID:Europe/London UID:20110901T111909Z-uidGen@fe80:0:0:0:a00:27ff:feb8:699b%2 ORGANIZER:mailto:foo@bar.com END:VEVENT END:VCALENDAR I then tried to update this event (moving it forward one hour) with the following iCal (as per iTIP: 'Changing a Published Event' - http://tools.ietf.org/html/rfc5546#section-4.1.2): BEGIN:VCALENDAR PRODID:-//Events Calendar//iCal4j 1.0//EN CALSCALE:GREGORIAN METHOD:PUBLISH VERSION:2.0 BEGIN:VEVENT DTSTAMP:20110912T143518Z DTSTART:20110913T160000 DTEND:20110913T170000 SUMMARY:A sample test event. TZID:Europe/London UID:20110901T111909Z-uidGen@fe80:0:0:0:a00:27ff:feb8:699b%2 ORGANIZER:mailto:foo@bar.com SEQUENCE:1 COMMENT:An hour later than previously planned. END:VEVENT END:VCALENDAR Actual results: The e-mail is rendered in the message pane with the banner 'This message contains an event'. I got the following javascript error in my error console: Error: [Exception... "'[JavaScript Error: "item is undefined" {file: "resource://calendar/modules/calItipUtils.jsm" line: 823}]' when calling method: [calIOperationListener::onOperationComplete]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///C:/Users/Alexis/AppData/Roaming/Thunderbird/Profiles/g6b6wfwh.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js :: <TOP_LEVEL> :: line 564" data: yes] Expected results: Ideally there should be some text, such as in the subject-line saying that it is an update to an existing event. Most importantly however, there should be some controls in the UI such as buttons with 'Accept' and 'Decline' that allow you to make the corresponding change to the event in your calendar if you so wish (basically something analogous to METHOD:REQUEST which *is* handled correctly).
Hi Alexis, Do you still have the problem with TB9 and Lightning 1.1?
Hi caméléon, I tried it again with Thunderbird v9.0.1 and Lightning 1.1 (Windows 7 SP1, 64-bit) and yes, I get the same error as I reported above.
Could you please retest with a Daily comm-central build, as the mentioned bug has been fixed?
Whiteboard: [closeSoon]
Resolving worksforme due to comment #3. If this issue still persists, feel free to reopen this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Whiteboard: [closeSoon]
You need to log in before you can comment on or make changes to this bug.