Empty login username/password for Google calendar kills lightning



8 years ago
4 years ago


(Reporter: subscriptions, Unassigned)




(1 attachment)



8 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-AU; rv: Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

When I add a general google calendar such as "Weather" or "Phases of the Moon" (using the iCal link from the calendars settings web page) I am prompted for login details (a strange user name is suggested: part of the calendars url).

NOTE: in the following, I did not select "Use the password manager to remember this password".

If i provide empty credentials (delete the suggested user name), on relaunching thunderbird, an empty "Google Calendar Login" popup appears (attached screenshot). When this (empty) popup is closed, thunderbird launches normally but lightning no longer has any google calendars in its calendar list and generates exceptions (I can provide more details if useful).

If I provide dummy credentials of the form "x@gmail.com", they are not accepted and I am prompted again for login details.

If I provide dummy credentials of the form "x", I am prompted a second time (with suggested user name "x@gmail.com"), and if I use "x" again, it is accepted. In this case, the calendar is in the list, but its content is not shown, and I am prompted for credentials when I relaunch thunderbird ("x@gmail.com" suggested).

Reproducible: Sometimes

Steps to Reproduce:
1. Right click calendar list, select "new calendar", select "on the network" then "next"
2. Select "Google Calendar"
3. Paste iCal link from a Google 'interesting calendar' such as "Phases of the Moon" in to the 'Location' box.
4. Click 'next'
5. Click 'next' on the 'nickname' screen
6. A popup asking for login details appears: delete the suggested user name, leaving both user name and password blank, and click 'ok'. Do not select "remember the password"
7. Click "finish" on the "Your calendar has been created" screen.
6. Restart thunderbird
Actual Results:  
An empty popup (attached screen shot) appears with the title "Google Calendar Login". 

When this popup is closed, thunderbird launches, but lightning does not show any google calendars and produces exceptions such as 'this.docShell is null'

Expected Results:  
The subscribed google calendars are shown and exceptions are not thrown.

This is intermittent, as as yet I don't see a pattern. If I disable Provider, delete google calendars then enable Provider and add calendars, it seems to happen most times...

I installed "Provider for Google Calendar" from 
This provided version 0.70, which I updated from within thunderbird.

I have records of the exceptions thrown - they are related to displaying the calendar tab. If I restart thunderbird with a calendar tab open, I also get an exception, but that's another bug..

Here's an example:
-- Exception object --
+ message (string) 'view is null'
+ fileName (string) 'chrome://calendar/content/calendar-views.js'
+ lineNumber (number) 382
+ stack (string) 653 chars
+ name (string) 'TypeError'
-- Stack Trace --
ltnShowCalendarView(null,(void 0))@chrome://lightning/content/messenger-overlay-sidebar.js:272
([object Object],[object Object])@chrome://lightning/content/messenger-overlay-sidebar.js:85
openTab("calendar",[object Object])@chrome://messenger/content/tabmail.xml:542
oncommand([object XULCommandEvent])@chrome://messenger/content/messenger.xul:1

Comment 1

8 years ago

Comment 2

8 years ago
This behaviour was seen with Provider version 0.71 that was obtained by installing 0,70 from 
then updating from within thunderbird.
To access the read-only iCal feed create a new calendar On the Network -> ICalendar. Only use CalDAV or Gdata if you have full write access to the calendar.

Comment 4

8 years ago
Yes, I realise that... Thank you all the same though (:

I still feel this bug is worth looking at - perhaps not critical, but it helps user confidence if things can't be broken by foolish choices..

For the record, if you've got this problem and are looking to get lightning on its feet again, uninstalling "Provider for Google Calendar", deleting the (greyed out) offending calendars, then re-installing Provider should fix things.
ian, do you still see this problem?
There has been a major rewrite of the Provider for Google Calendar between version 0.32 and 1.0. A vast number of bugs have been fixed during this rewrite, therefore I am closing lots of old bugs that I think might either be fixed or no longer apply to the latest version.

Please read the updated FAQ [1] for details on known issues. If you can reproduce your issue with the latest version of the Provider for Google Calendar and you can't find an existing bug that handles your case, please reopen this issue.

Thank you for your understanding.

[1] https://wiki.mozilla.org/Calendar:GDATA_Provider
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.