MozillaZine


CalDAV Collections

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Tombstone0
 
Posts: 4
Joined: January 23rd, 2003, 12:52 pm

Post Posted February 21st, 2008, 2:18 pm

Does anyone know if there any plans to add support for DAV Collections to Sunbird?
I've tried this with both .7 and the nightly build from 2/20/2008.

If I try to add one I get the following error:

"An Error Has Occurred
There has been an error reading data for calendar: Collection. It has been disabled until it is safe to use it.
Error number: 0x804a0302
Description: The resource at http://calendar.myurl.com:8008/calendar ... testgroup/ is a DAV collection but not a CalDAV calendar"

Also, I've noticed that I can add the first calendar in the Collection by itself and it works fine, but none of the others will work when added individually. I get the following error when I try to add them:

"An Error Has Occurred
There has been an error reading data for calendar: Untitled. It has been disabled until it is safe to use it.
Error number: 0x804a0301
Description: The resource at http://calendar.myurl.com:8008/calendar ... /untitled/ is either not a DAV collection or not available"

bbbrowning
 
Posts: 25
Joined: August 6th, 2007, 10:20 am

Post Posted February 22nd, 2008, 6:16 am

Sunbird does not yet have the ability to create CalDAV collections itself, and the CalDAV provider needs to work with a CalDAV (not plain-DAV) collection. So currently you need to create the collection with a tool other than Sunbird, and then provide Sunbird with the URI of the CalDAV collection you have created. The first error you cite is the result of giving Sunbird the URI of a plain-DAV collection; the second most likely the result of giving it a URI where no collection exists at all. I usually create CalDAV collections from the command line with something like:
curl -X MKCALENDAR -u username:password http://calendar.myurl.com:8008/calendar ... newcalname
though it should be possible to do this with e.g. iCal as well.
CalDAV collections cannot be nested at any depth, so that having one collection inside another (as your example seems to do) will not work.
I expect/hope that Sunbird will gain the ability to create CalDAV collections during the 0.9 development cycle.

venyey
 
Posts: 6
Joined: October 13th, 2011, 1:28 am

Post Posted October 23rd, 2011, 11:57 pm

However, Mozilla Sunbird supports CalDAV now))

LIMPET235
Moderator

User avatar
 
Posts: 39575
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted October 23rd, 2011, 11:58 pm

You're about 3 ½ years late.
Locking.
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-79.0-99.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.

(Always choose the "Custom" Install.)

Return to Calendar


Who is online

Users browsing this forum: No registered users and 0 guests