[Kolab-devel] CalDAV / CardDAV event.created().isUTC() is false ...
hede
kolab983 at der-he.de
Mon Sep 5 17:09:36 CEST 2016
Hi,
I've branched some Winterfell Packages for CalDAV/CardDAV Support for Kolab Winterfell on Debian 8 on ARM
(https://obs.kolabsys.com/project/show/home:hede:branches:Kolab:Winterfell)
(btw. I'm using Sailfish OS as a DAV Client here)
Pulling Addresses and Calendar from server seems to work. But after creating a new calendar event at the client/phone and trying to synchronize it with the server it won't push the new entry to the server:
###### /var/log/apache2/access.log ######
192.168.4.3 - - [05/Sep/2016:16:51:38 +0200] "REPORT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/ HTTP/1.1" 401 3797 "-" "Mozilla/5.0"
192.168.4.3 - testnn1 [05/Sep/2016:16:51:38 +0200] "REPORT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/ HTTP/1.1" 207 1379 "-" "Mozilla/5.0"
192.168.4.3 - - [05/Sep/2016:16:51:39 +0200] "PROPFIND /iRony/addressbooks/testvn1 at der-he.de/7a3fe7c557ad8264 HTTP/1.1" 401 3797 "-" "Mozilla/5.0"
192.168.4.3 - testnn1 [05/Sep/2016:16:51:38 +0200] "REPORT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/ HTTP/1.1" 207 1351 "-" "Mozilla/5.0"
192.168.4.3 - - [05/Sep/2016:16:51:39 +0200] "GET /squirrelmail/src/left_main.php HTTP/1.1" 200 5160 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0"
192.168.4.3 - - [05/Sep/2016:16:51:39 +0200] "PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/080b9115-4f4d-4318-bbeb-11092b262169.ics HTTP/1.1" 401 754 "-" "Mozilla/5.0"
192.168.4.3 - testnn1 [05/Sep/2016:16:51:39 +0200] "PROPFIND /iRony/addressbooks/testvn1 at der-he.de/7a3fe7c557ad8264 HTTP/1.1" 207 1754 "-" "Mozilla/5.0"
192.168.4.3 - testnn1 [05/Sep/2016:16:51:39 +0200] "PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/077afad4-85b9-4303-8cae-38c3380a47e3.ics HTTP/1.1" 500 546 "-" "Mozilla/5.0"
192.168.4.3 - testnn1 [05/Sep/2016:16:51:39 +0200]
"PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/080b9115-4f4d-4318-bbeb-11092b262169.ics
HTTP/1.1" 500 546 "-" "Mozilla/5.0"
###### /var/log/apache2/error.log #####
Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 92: event.created().isUTC() is false
Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 93: !event.created().isDateOnly() is false
Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 92: event.created().isUTC() is false
Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 93: !event.created().isDateOnly() is false
###### /var/log/iRony/errors #######
[05-Sep-2016 14:51:39,955300 +0200]: PHP Error: kolabformat Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 92: event.created().isUTC() is false in /usr/share/roundcubemail/plugins/libkolab/lib/kolab_format.php on line 378 (PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/077afad4-85b9-4303-8cae-38c3380a47e3.ics)
[05-Sep-2016 14:51:39,959700 +0200]: PHP Error: Error saving event object to Kolab server in /usr/share/iRony/lib/Kolab/CalDAV/CalendarBackend.php on line 431 (PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/077afad4-85b9-4303-8cae-38c3380a47e3.ics)
[05-Sep-2016 14:51:39,968700 +0200]: PHP Error: Error saving calendar object to backend (error 500)
#0 /usr/share/php/Sabre/CalDAV/Calendar.php(199): Kolab\CalDAV\CalendarBackend->createCalendarObject('05044b5057ad826...', '077afad4-85b9-4...', 'BEGIN:VCALENDAR...')
#1 /usr/share/php/Sabre/DAV/Server.php(1053): Sabre\CalDAV\Calendar->createFile('077afad4-85b9-4...', 'BEGIN:VCALENDAR...')
#2 /usr/share/php/Sabre/DAV/CorePlugin.php(513): Sabre\DAV\Server->createFile('calendars/testv...', Resource id #18, NULL)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /usr/share/php/Sabre/Event/EventEmitterTrait.php(83): call_user_func_array(Array, Array)
#5 /usr/share/php/Sabre/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:PUT', Array)
#6 /usr/share/php/Sabre/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /usr/share/iRony/public_html/index.php(194): Sabre\DAV\Server->exec()
#8 {main} in /usr/share/iRony/lib/Kolab/CalDAV/CalendarBackend.php on line 435 (PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/077afad4-85b9-4303-8cae-38c3380a47e3.ics)
[05-Sep-2016 16:51:40 Europe/Berlin] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/iRony/lib/Kolab/CalDAV/Calendar.php on line 88
[05-Sep-2016 16:51:40 Europe/Berlin] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/iRony/lib/Kolab/CalDAV/Calendar.php on line 88
[05-Sep-2016 16:51:40 Europe/Berlin] PHP Deprecated: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcubemail/plugins/libkolab/lib/kolab_storage_folder.php on line 919
[05-Sep-2016 14:51:40,103100 +0200]: PHP Error: kolabformat Error: /root/src/kolab-winterfell-160811/libkolabxml-1.2~dev20160607/src/objectvalidation.cpp 92: event.created().isUTC() is false in /usr/share/roundcubemail/plugins/libkolab/lib/kolab_format.php on line 378 (PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/080b9115-4f4d-4318-bbeb-11092b262169.ics)
[05-Sep-2016 14:51:40,105100 +0200]: PHP Error: Error saving event object to Kolab server in /usr/share/iRony/lib/Kolab/CalDAV/CalendarBackend.php on line 431 (PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/080b9115-4f4d-4318-bbeb-11092b262169.ics)
[05-Sep-2016 14:51:40,107300 +0200]: PHP Error: Error saving calendar object to backend (error 500)
#0 /usr/share/php/Sabre/CalDAV/Calendar.php(199): Kolab\CalDAV\CalendarBackend->createCalendarObject('05044b5057ad826...', '080b9115-4f4d-4...', 'BEGIN:VCALENDAR...')
#1 /usr/share/php/Sabre/DAV/Server.php(1053): Sabre\CalDAV\Calendar->createFile('080b9115-4f4d-4...', 'BEGIN:VCALENDAR...')
#2 /usr/share/php/Sabre/DAV/CorePlugin.php(513): Sabre\DAV\Server->createFile('calendars/testv...', Resource id #18, NULL)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /usr/share/php/Sabre/Event/EventEmitterTrait.php(83): call_user_func_array(Array, Array)
#5 /usr/share/php/Sabre/DAV/Server.php(469): Sabre\Event\EventEmitter->emit('method:PUT', Array)
#6 /usr/share/php/Sabre/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /usr/share/iRony/public_html/index.php(194): Sabre\DAV\Server->exec()
#8 {main} in /usr/share/iRony/lib/Kolab/CalDAV/CalendarBackend.php on
line 435
(PUT /iRony/calendars/testvn1 at der-he.de/05044b5057ad8267/080b9115-4f4d-4318-bbeb-11092b262169.ics)
#####
Any hints?
regards
hede
More information about the devel
mailing list