[Kolab-devel] caldav driver test with radicale

Roy Thompson roy at haematic.org
Thu Feb 6 12:03:51 CET 2014


Hi,

I've given the caldav driver for the kolab calendar plugin a quick spin 
with radicale caldav server.
The is the roundcubemail-plugins-kolab-caldav-3.1.11 as per Daniels 
previous emails.

I just have the caldav driver enabled.

Initial test is very positive!

A couple of observations:

1. My radicale server is on https with a self signed cert, by default 
the driver would not connect to it.

I've worked around this by going to 
plugins/calendar/lib/SabreDAV/lib/Sabre/DAV/Client.php and adding:
$curlSettings[CURLOPT_SSL_VERIFYPEER] = 0;
at line 331

It would be great to have an option when creating the calendar in the 
ui for the verifyPeer setting passed to the SabreDAV Client constructor.
:)

2. Categories don't seem to be getting picked up properly.

Events where I have a category set are showing up in the ui with a 
category of "Array" and in the error log I see messages like:

[06-Feb-2014 10:32:52 Europe/London] PHP Warning:  Invalid argument 
supplied for foreach() in 
/var/www/localhost/htdocs/roundcube10/plugins/libcalendaring/libvcalendar.php 
on line 676
[06-Feb-2014 10:32:52 +0000]: PHP Error: iCal data parse error: Object 
validation failed: missing mandatory object properties in 
/var/www/localhost/htdocs/roundcube10/plugins/libcalendaring/libvcalendar.php 
on line 148 (GET 
/roundcube10/?_task=calendar&_action=load_events&source=1&driver=caldav_driver&start=1388361600&end=1391990400&_=1391682686546)

Turning on debug I also see message like:

[06-Feb-2014 10:32:52 +0000]: caldav_driver: Could not perform event 
creation: Array
(
     [url] => /shared/calendar/4a2f5e21-fe92-4f86-84f5-ff9daddcea6d.ics
     [etag] => -7348026048330131044
)

PHP is 5.4

I am on a slightly older version of radicale (0.7.1) so there may be 
issue there too.  I will try latest when I get a chance.


Roy


More information about the devel mailing list