[Kolab-devel] caldav driver test with radicale

Roy Thompson <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <1c6ec2d4065867a080250e05b2a2e4e7__1914.89466601542$1391684644$gmane$org@home.haematic.org>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.