getItem() returns no item after an event is created in the Google calendar

RESOLVED FIXED in 0.9

Status

Calendar
Provider: GData
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Chris, Assigned: Fallen)

Tracking

unspecified

Details

(Whiteboard: [gdata-0.5])

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Google calendar provider 0.5pre 28-Aug-2008 19:54

Hello,

There is a problem with the getItem() function when trying to retrieve an event which has been created on Google calendar web site. It returns a null item with no error. Investigations show that it was caused by the following portion of code in calGoogleCalendar.js/cGC_getItem_response_onResult:

			var itemEntry = xml.entry.(id.substring(id.lastIndexOf('/') + 1) == aOperation.itemId ||
                                       gCal::uid.@value == aOperation.itemId ||
                                       gd::extendedProperty.(@name == "X-MOZ-SYNCID").@value == aOperation.itemId);

It raises the following exception (not traced even when debug logs are enabled):

Exception = ReferenceError: reference to undefined XML name http://schemas.google.com/g/2005::extendedProperty

If the code part "gd::extendedProperty.(@name == "X-MOZ-SYNCID").@value == aOperation.itemId" is removed, then getItem() behaves properly.

This error prevent BirdieSync from synchronizing events from the Google calendar.

Let me know if you need more information.
Thanks a lot for your help.


Reproducible: Sometimes

Steps to Reproduce:
Create an event on the Google calendar.
Then use the getItem() function to retrieve it.
Actual Results:  
The getItem() function returns a null item.

Expected Results:  
The getItem() function should return the requested item.
(Assignee)

Comment 1

9 years ago
Hello Chris,

I´ve noticed this bug too and its part of a different patch I have been preparing. I´ll take care as soon as I get back from my vacation.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

9 years ago
Depends on: 428851
(Assignee)

Comment 2

9 years ago
Will be fixed with bug 428851
Assignee: nobody → philipp
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Whiteboard: [gdata-cvs]
Target Milestone: --- → 0.9
(Reporter)

Comment 3

9 years ago
Thanks a lot Philipp !
(Assignee)

Updated

9 years ago
Whiteboard: [gdata-cvs] → [gdata-0.5]
You need to log in before you can comment on or make changes to this bug.