Closed Bug 913389 Opened 11 years ago Closed 11 years ago

Lightning 2.6 beta 2: calendar passwords requests

Categories

(Calendar :: Internal Components, defect)

Lightning 2.6
x86
Windows 8
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: luigi.boccia, Unassigned)

Details

(Keywords: calendar-integration)

User Agent: Mozilla/5.0 (Windows NT 6.2; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812

Steps to reproduce:

Installed Thunderbird 24 beta 2 (previous version was 17) and Lightning 2.6 beta 2. My 4 calendars were imported correctly but first 2 of them and then all of them keep requesting passwords. Clearly, I've double checked the password and clicked on "save password". 


Actual results:

Still password requests for all google calendars. 


Expected results:

No password requested after the first request.
Severity: normal → critical
Component: Account Manager → Security
Product: Thunderbird → Calendar
Version: 24 → Lightning 2.6
Is this a Google Calendar setup? Could you give us some details from your error console (Tools > Error Console).
I have 4 google calendars from two different accounts. The error appeared first for one calendar and then for the three calendars. Calendars were disabled and password requests were infinite! I had to remove the beta version going back to Thunderbird 17.
As a further comment, I'd like to say that this configuration worked pretty fine up to know. I did not change anything. This error appeared immediately after the beta installation.
The error is still present, in a different for, after I've reverted to version 17.

When I check the error console in version 17 (which I'm now using) I get this message:

Data e ora: 10/09/2013 11:10:33
Errore: Assert failed: [Exception... "'[JavaScript Error: "obj is null" {file: "resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js" line: 948}]' when calling method: [calICalendar::getItems]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js :: <TOP_LEVEL> :: line 420"  data: yes]
2: [file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:422] null
3: [chrome://calendar/content/widgets/minimonth.xml:981] getItems
4: [chrome://calendar/content/widgets/minimonth.xml:636] onPropertyChanged
5: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1361] notifyFunc
6: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1366] calListenerBag_notify
7: [resource://calendar/modules/calProviderUtils.jsm:473] calObserverBag_notify
8: [file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:65] null
9: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1361] notifyFunc
10: [resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1366] calListenerBag_notify
11: [resource://calendar/modules/calProviderUtils.jsm:473] calObserverBag_notify

File sorgente: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Riga: 1105


I'll try to re-install the beta version and see if there is any news. In the meantime, please, let me know if I can do something to make my calendar work again.
Are you using the Provider for Google Calendar, or accessing via CalDAV? If CalDAV, are you using the old caldav endpoint, or the new one with OAuth2?
Component: Security → Internal Components
Hi. I'm using the provider for google calendar and accessing it via /basic.ics.
I've just re-installed Thunderbird 24 b2 and Lightning 2.6 b2. Again, I get the same errors. From the error console I get several errors. Some of them are:

[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Google Lu.Boccia. È stato impostato in modalità  di sola lettura, dato che per ogni cambiamento in questo calendario si potrebbe verificare una perdita di dati.  È possibile cambiare queste impostazioni selezionando 'Modifica calendario'. Codice di errore: DAV_PUT_ERROR. Descrizione: Publishing the calendar file failed
Status code: 0
"]



[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Google Lu.Boccia. Codice di errore: 0x80004005. Descrizione: old item mismatch in modifyItem storedId:BEGIN:VEVENT
CREATED:20120116T173033Z
LAST-MODIFIED:20130911T081728Z
DTSTAMP:20130911T081728Z
UID:33jhqvn44r1rjhrm60urb1ivr4@google.com
SUMMARY:Bonifico Asilo
STATUS:CONFIRMED
RRULE:FREQ=MONTHLY;BYMONTHDAY=28
EXDATE:20120828T080000Z
CATEGORIES:http://schemas.google.com/g/2005#event
X-MOZ-LASTACK:20130911T081728Z
DTSTART;TZID=Europe/Paris:20120128T090000
DTEND;TZID=Europe/Paris:20120128T100000
DESCRIPTION:Bonifico Asilo
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for LOCATION proper
 ty. Removing entire property:
SEQUENCE:4
TRANSP:OPAQUE
X-MOZ-GENERATION:1
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
DESCRIPTION:This is an event reminder
END:VALARM
END:VEVENT
 old item:BEGIN:VEVENT
CREATED:20120116T173033Z
LAST-MODIFIED:20130903T131601Z
DTSTAMP:20130911T081409Z
UID:33jhqvn44r1rjhrm60urb1ivr4@google.com
SUMMARY:Bonifico Asilo
STATUS:CONFIRMED
RRULE:FREQ=MONTHLY;BYMONTHDAY=28
EXDATE:20120828T080000Z
CATEGORIES:http://schemas.google.com/g/2005#event
DTSTART;TZID=Europe/Paris:20120128T090000
DTEND;TZID=Europe/Paris:20120128T100000
DESCRIPTION:Bonifico Asilo
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for LOCATION proper
 ty. Removing entire property:
SEQUENCE:4
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
DESCRIPTION:This is an event reminder
END:VALARM
END:VEVENT
"]
I've cancelled all the calendars and started to create them one-by-one.

As I created the first calendar (using ICS and not google provider) I can see all the events correctly in Thunderbird but I'm not able to cancel the alerts of past events. The errors I get are of these type:

[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Luigi Boccia Unical. È stato impostato in modalità  di sola lettura, dato che per ogni cambiamento in questo calendario si potrebbe verificare una perdita di dati.  È possibile cambiare queste impostazioni selezionando 'Modifica calendario'. Codice di errore: DAV_PUT_ERROR. Descrizione: Publishing the calendar file failed
Status code: 0
"]

Data e ora: 11/09/2013 10:42:43
Errore: Si è verificato un errore durante la scrittura nel calendario Luigi Boccia Unical. Codice di errore: MODIFICATION_FAILED. Descrizione: 
File sorgente: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js
Riga: 961



When I try to create the calendar using Google calendar provider, I do not see any event and Thunderbird keeps asking me the password. The error I get is:

[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Luigi Boccia Unical. Codice di errore: 0x80004005. Descrizione: old item mismatch in modifyItem storedId:BEGIN:VEVENT
CREATED:20130828T070042Z
LAST-MODIFIED:20130911T085124Z
DTSTAMP:20130911T085124Z
UID:i6ck404bp1ml0cru9urg4vcgq8@google.com
SUMMARY:Avis
STATUS:TENTATIVE
CATEGORIES:http://schemas.google.com/g/2005#event
X-MOZ-LASTACK:20130911T085124Z
DTSTART:20130901T060000Z
DTEND:20130901T070000Z
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for LOCATION proper
 ty. Removing entire property:
SEQUENCE:1
TRANSP:OPAQUE
X-MOZ-GENERATION:1
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:PT0S
DESCRIPTION:This is an event reminder
END:VALARM
END:VEVENT
 old item:BEGIN:VEVENT
CREATED:20130828T070042Z
LAST-MODIFIED:20130903T153943Z
DTSTAMP:20130911T084336Z
UID:i6ck404bp1ml0cru9urg4vcgq8@google.com
SUMMARY:Avis
STATUS:TENTATIVE
CATEGORIES:http://schemas.google.com/g/2005#event
DTSTART:20130901T060000Z
DTEND:20130901T070000Z
X-LIC-ERROR;X-LIC-ERRORTYPE=VALUE-PARSE-ERROR:No value for LOCATION proper
 ty. Removing entire property:
SEQUENCE:1
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:PT0S
DESCRIPTION:This is an event reminder
END:VALARM
END:VEVENT
"]



My personal feeling is that these errors are generated by a conflict generated alerts of past events.



Data e ora: 11/09/2013 10:43:17
Errore: '<error>' when calling method: [calICalendar::modifyItem]
File sorgente: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/Luigi%20Boccia/AppData/Roaming/Thunderbird/Profiles/ml7dolex.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calAlarmService.js
Riga: 229
I've done a last try by creating a google calendar which does not have any past event. I've added this new calendar in Thunderbird but I always get a password request and these two errors:

[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Unical account.  In ogni caso, dovrebbe essere un errore minore, quindi il programma proverà a continuare. Codice di errore: 0x80040111. Descrizione: null"]

[JavaScript Warning: "Si è verificato un errore durante la lettura dei dati dal calendario: Unical account.  In ogni caso, dovrebbe essere un errore minore, quindi il programma proverà a continuare. Codice di errore: READ_FAILED. Descrizione: "]
For the Provider for Google Calendar, could you try version 0.25 ? You can find it here: http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/2.6/
I've installed the new version of Google Calendar provider and now it works fine. BTW: is this an official release?

Did you do something to include Google tasks?


Thanks for your help.
Yes, its an official release and is in the AMO review queue. No, nothing about Google Tasks yet. I have an extension in my list of things to do that supports tasks, will be released at latest towards the end of the year.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.