Closed Bug 392627 Opened 18 years ago Closed 18 years ago

Google Calendar Events Not Showing Up in View in latest nightlies (Error: dateTime.normalize is not a function)

Categories

(Calendar :: Provider: GData, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: excessory, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7pre) Gecko/20070816 BonEcho/2.0.0.7pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7pre) Gecko/20070817 The nightly builds since after the 2007-08-15-04-mozilla1.8 nightly have a bug where my remote Google calendar will still appears in my list and I can still add events to the calendar from within Sunbird; however, no events are shown from this calendar in Sunbird no matter what view. This problem has been somewhat independently confirmed by a user on MozillaZine (see http://forums.mozillazine.org/viewtopic.php?t=576440) Reproducible: Always Steps to Reproduce: 1. Start Sunbird with a Google Calendar setup 2. 3. Actual Results: No events shown in calendar Expected Results: Events shown in calendar.
Confirmed with a new profile and Lightning 2007081705 / Thunderbird 20070728. Events are not shown in any view but they are created (they can be seen through Google Web Calendar interface). The reporter said on IRC that no error messages appear in the console. I see error messages, they may not be related to this bug: Fehler: Failed to fetch todo items: 0x80004001 Quelldatei: chrome://lightning/content/calendar-todo-list.xml Zeile: 133 Fehler: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "<unknown>" data: no]
Status: UNCONFIRMED → NEW
Ever confirmed: true
For the sake of completeness: gdata version 0.2.1
OS: Linux → All
I couldn't reproduce this. Could this be a result of the disappearing events bugs [1]? I don't think the error console messages have to do with this bug. They have been there longer and haven't caused any trouble that I know of. [1] https://bugzilla.mozilla.org/buglist.cgi?quicksearch=%5B0.5+disappearing+events%5D
I can confirm this with Lightning 0.7pre build 2007082004, Provider 0.2.1 I have tried removing and re-installing the add-ons, deleting and reconfiguring the calendars all to no avail. I can further confirm that any events created appear in Google, but nothing is shown in Lightning Nigel
I have the following further ideas: * try this with a fresh profile * remove all other calendars (if possible) * try selecting reload remote calendars * Enable calendar.debug.log and check for strange errors in the error console * Any other errors in the error console? * Does this go away when you change the view? * Using google apps for your domain? * Using proxy?
I can't try with a fresh profile at the moment, but I can confirm Nigel's experience in comment #4 (I have the same versions as he does). I tried removing all remote calendars, tried reloading, etc. I enabled calendar.debug.log, and got the following messages each time I reloaded remote calendars: calGoogleRequest: Requesting GET http://www.google.com/calendar/feeds/my-email-address/private/full?max-results=2147483647&singleevents=true&start-min=2007-08-19&start-max=2007-08-26 Received response for http://www.google.com/calendar/feeds/my-email-address/private/full Error parsing XML streamTypeError: dateTime.normalize is not a function Error getting items: TypeError: dateTime.normalize is not a function It also complains with an error Error: Failed to fetch todo items: 0x80004001 Source File: chrome://lightning/content/calendar-todo-list.xml Line: 133 ...but that happens with all my remote calendars, so that's not likely GData's problem. These events don't show up in any view (daily, weekly, multi, or monthly). On the other hand, I tried subscribing to my own calendar a *second* time, as a regular ICS calendar (not through the GData provider). That will show my events just fine! So my current workaround is to publish events via the GData provider, and view them using the ICS calendar. It's kludgy, but it works ;-)
* Same behaviour with a fresh profile * Same behaviour after removing all other calendars * Same behaviour after selecting to reload the calendar * Debug info below * Same behaviour no matter what view * Not sure about google apps domain and/or proxy As noted above by Ben L., the debug output has the following errors: calGoogleRequest: Requesting GET http://www.google.com/calendar/feeds/<email blocked>/private/full?max-results=2147483647&singleevents=true&start-min=2007-07-29T07%3A00%3A00Z&start-max=2007-09-08T07%3A00%3A00Z Recieved response for http://www.google.com/calendar/feeds/<email blocked>/private/full Error parsing XML streamTypeError: dateTime.normalize is not a function Error getting items: TypeError: dateTime.normalize is not a function
I'm out of my depth with debugging this, but my error console shows: Error: Failed to fetch todo items: 0x80004001 Source File: chrome://lightning/content/calendar-todo-list.xml Line: 133 Above repeated 4 times Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "<unknown>" data: no] Above repeated 6 times. I have 1 local and 2 Google Calendars in my list
Aha, that explains it! This is the result of bug 391062. The bug contains a fix for the gdata provider, but this is of course not in version 0.2.1. It will be contained in the next release. This is also the reason I could not reproduce. Marking as INVALID for now. If this problem persists with a gdata version from cvs or version 0.2.3, feel free to reopen! If you want a version now, see developer.mozilla.org or wiki.mozilla.org for a guide how to get the calendar source from cvs.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
I mean 0.2.2 of course.
Summary: Google Calendar Events Not Showing Up in View in latest nightlies → Google Calendar Events Not Showing Up in View in latest nightlies (Error: dateTime.normalize is not a function)
Could you upload a gdata nightly to e.g. the amo sandbox, please? Why is there no nightly build of gdata, or maybe a lightning+gdata or lightning+all_providers? If lightning nightlies break providers, we either need provider nightlies or lightning+all_providers.
I can confirm this issue is fixed when using Sunbird build Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.7pre) Gecko/20070823 Calendar/0.7pre and a local build of gdata-provider 0.2.2
Verified based on Comment #12
Status: RESOLVED → VERIFIED
Hi I support Steffen's request in comment #11. I do not have any build environment, and I would even not know how to build :)But I do participate by using hence testing Lightning 0.7 and the google calendar provider on a every day-life basis. Though, I had to revert to an old 0.7 nightly due to this bug, and I'm not able to test the newest ones for that reason only. Philipp, is there something that you or someone else could do to help people like me ? Many thanks in advance (and many thanks for the work done so far, of course :D )
klint, Steffen: I'm evaluating some possibilities of uploading nightlies. It seems AMO doesn't allow having one version not-approved and in the sandbox while another version is public and also doesn't provide updates. It is probably best to create an upload script for mozdev and upload the binaries there. There I can create a custom update.rdf and push my nightlies. Please be so kind and open a new bug for this and assign to me, I'll take care of it soon
Philipp : I just have filed bug 393853 for you - but I don't know how to assign it to you officially ! Thanks
One solution to support both old and new builds of Sunbird/Lightning might be to change the extension source code from date.normalize(); to if (date.normalize) { date.normalize(); }
latest gdata nightly build ( 25/sept/2007 ) fixes this for all lightning build up to 27/sept/2007 but it is broken again as of 28/sept/2007
(In reply to comment #20) You are using a unsupported test build - be creative and help yourself ;) http://forums.mozillazine.org/viewtopic.php?p=3089908#3089908
You need to log in before you can comment on or make changes to this bug.