sujitreddyg / as3googlecalendarlib

ActionScript 3 library for Google Calendar API
1 stars 0 forks source link

No calendars in ownedCalendars/allCalendars object #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Simply running the application.

What is the expected output? What do you see instead?
I should get an array of at least one calendar in the 'ownedCalendars'
object.  I don't get anything.

What version of the product are you using? On what operating system?
Flex Builder 3, Vista Home 64-bit

Please provide any additional information below.
Here is my console output:

INFORMATION : Sending authentication request
INFORMATION : Authentication request sent
INFORMATION : Authentication response recieved
INFORMATION : Parsed response
INFORMATION : Authentication successful
INFORMATION : Sending request for owned calendars to url
http://www.google.com/calendar/feeds/default/owncalendars/full
DEBUG : Sent request for owned calendars to url
http://www.google.com/calendar/feeds/default/owncalendars/full
INFORMATION : Authentication response event dispatched
DEBUG : Received success response for get owned calendars
DEBUG : Calendars created 
DEBUG : Parsed response and created calendar objects

so you can see, it says it created the objects, but upon inspection of the
variables, there is no calendar. (BTW: Doesn't work with allCalendars
either). -j

Original issue reported on code.google.com by jasonwma...@gmail.com on 17 Dec 2009 at 4:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was having the same issue so I shoveled my way through the code and did the 
following to solve my issue. Line 207-ish of GoogleCalendarService.as

//modified by Roger Avery zanemx@gmail.com
//calendar = createCalendarObject(entry);//this seems to always be null. 
Probably 
because there's no reference to it in the current scope.
calendar = createCalendarObject(feedObject.entry);//passing feedObject.entry 
instead of entry solved my issue. 

Hope this helps. 

Original comment by zan...@gmail.com on 23 May 2010 at 4:55

GoogleCodeExporter commented 9 years ago
This fixed it, thanks :)

Original comment by kamck...@gmail.com on 6 Jun 2011 at 9:16

GoogleCodeExporter commented 9 years ago
Thanks. Fixed it for me too.

Original comment by ch...@hware.com on 4 Apr 2012 at 12:58