Unable to connect to CalDAV

Bug #1039371 reported by Jean-Louis Dupond
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lightning
Fix Released
Critical
lightning-extension (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi

I just upgraded to the new version in Quantal:
lightning-extension (1.7~b3+build1-0ubuntu1)

But there seems to be some major issues with it.
I cannot connect to CalDAV anymore.

The error console gives me a bunch of errors:

Tijdstempel: 21-08-12 07:39:49
Fout: NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIWebNavigation.loadURI]
Bronbestand: chrome://global/content/viewSource.js
Regel: 173

Tijdstempel: 21-08-12 07:39:02
Waarschuwing: There has been an error reading data for calendar: <email address hidden>. However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description:

Tijdstempel: 21-08-12 07:39:02
Waarschuwing: There has been an error reading data for calendar: <email address hidden>. However, this error is believed to be minor, so the program will attempt to continue. Error code: 0x80004005. Description: multiget error

Tijdstempel: 21-08-12 07:39:02
Waarschuwing: CalDAV: Get failed: multiget error

Tijdstempel: 21-08-12 07:39:02
Fout: Assert failed: unexepcted endBatch!
2: [null:0] null
3: [resource://calendar/modules/calProviderUtils.jsm:639] cPB_endBatch
4: [null:0] null
5: [resource://calendar/modules/calUtils.jsm -> file:///usr/lib/mozilla/extensions/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js:743] mg_onStopRequest
6: [null:0] null

Bronbestand: resource://calendar/modules/calUtils.jsm -> file:///usr/lib/mozilla/extensions/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Regel: 1122

Tijdstempel: 21-08-12 07:39:02
Waarschuwing: CalDAV: Unexpected response, status: undefined, href: calendar-data:
undefined

Is it possible to have a look at this asap? Cause it makes Lightning useless atm.

Revision history for this message
In , Jean-Louis Dupond (dupondje) wrote :

Created attachment 653926
This patch fixes the calendar-multiget request.

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120820141800

Steps to reproduce:

With the new lightning plugin, i'm unable to get any calendar data from the CalDAV server.
The issue was caused by commit http://hg.mozilla.org/releases/comm-beta/rev/a182ec1d232f

The calendar-multiget request should FIRST list its 'prop's it needs, and AFTER that it should print the href's.
This is now the other way around, which causes issues getting the data from the CalDAV server.

Actual results:

No calendar data could be found

Expected results:

All calendar items should show.

Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

The bug has been found, and reported upstream.
Hope this gets fixed soon :)

Changed in lightning-extension:
importance: Unknown → Critical
status: Unknown → New
Revision history for this message
In , Philip-chee (philip-chee) wrote :

Regression from Bug 754164.

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Comment on attachment 653926
This patch fixes the calendar-multiget request.

I'm surprised this makes a difference. Just in time, I was just about to start the release builds.

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Pushed to comm-central changeset 06e3e6f847ae

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Backported to releases/comm-aurora changeset 3ff340786504

Revision history for this message
In , Philipp-bugzilla (philipp-bugzilla) wrote :

Backported to releases/comm-beta changeset c45b2cea68a6

Changed in lightning-extension:
status: New → Fix Released
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

Its fine in the new Quantal upload now (which includes the upstream fix).

Changed in lightning-extension (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.