CalDAV Collections

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

CalDAV Collections

Post by Tombstone0 »

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 by bbbrowning »

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

Re: CalDAV Collections

Post by venyey »

However, Mozilla Sunbird supports CalDAV now))
User avatar
LIMPET235
Moderator
Posts: 39952
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: CalDAV Collections

Post by LIMPET235 »

You're about 3 ½ years late.
Locking.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked