[Kolab-devel] caldav driver test with radicale

Roy Thompson roy at haematic.org
Fri Feb 7 10:44:15 CET 2014


Hi Daniel,

On 06/02/2014 15:24, Daniel Morlock wrote:
> Hi Roy,
>
>
>> 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.
>>
>
> This looks like a bug in the category management. To get it right: 
> Event creation/editing/deletion works without using categories?

I've upgrade to latest radicale 0.8.  0.9 is due out soon.

Yes, I can create, edit and delete events.
The category gets passed to the caldav server and is stored there 
correctly, it looks more like a issue with reading it back.

When I delete an event, I do get a pop up saying "Failed to save changes"
In the logs is this:

[07-Feb-2014 09:33:22 +0000]: caldav_driver: Initialize sync client for 
calendar 2
[07-Feb-2014 09:33:22 +0000]: caldav_driver: Removing event url 
"/shared/calendar/8E33F2CEE4D230DDA33C7A363643DE93-5D9C68C6C50ED3D0.ics".
[07-Feb-2014 09:33:22 +0000]: caldav_driver: Unkown error while removing 
caldav event, undo removing local event "2577"!
[07-Feb-2014 09:33:23 +0000]: caldav_driver: Initialize sync client for 
calendar 2
[07-Feb-2014 09:33:23 +0000]: caldav_driver: Sync period active: 
Assuming calendar "2" to be in sync.
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Initialize sync client for 
calendar 2
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Ctag indicates that 
calendar "2" needs update!
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Calendar "2" needs update.
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Syncing calendar id "2".
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Created 0 new events, 
updated 0 event.
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Remove event "2578".
[07-Feb-2014 09:33:53 +0000]: caldav_driver: Successfully synced 
calendar id "2".

The event is deleted from the server and it does disappear in roundcube too.

> Would you mind to add your issues to our issue tracker: 
> https://gitlab.awesome-it.de/kolab/roundcube-plugins/issues ?
>
> Thanks,
> Daniel.

I will do.

Many thanks,
Roy


More information about the devel mailing list