Caldav problem

asked 2016-04-15 18:56:41 +0200

kilfinge gravatar image

Dear All,

I have an issue with synchronizing the jolla phone with the owncloud 9.0.1 calendar. I can create the event in the calendar on the phone and it is sent to the server, however no events are downloaded. With journal logs in the debug mode I see following message when doing the sync:

" <d:response>" kwi 15 17:44:53 Jolla caldav-client[3111]: [D] Request::debugReply:154 - " <d:href>/owncloud/remote.php/dav/calendars/dzikus/praca-kuba/ownCloud-ywduin8iuee0jbwvw32oh.ics</d:href>" kwi 15 17:44:53 Jolla caldav-client[3111]: [D] Request::debugReply:154 - " <d:propstat>" kwi 15 17:44:53 Jolla caldav-client[3111]: [D] Request::debugReply:154 - " <d:prop>" kwi 15 17:44:53 Jolla caldav-client[3111]: [W] Reader::readResponse:89 - unable to parse iCal data kwi 15 17:44:53 Jolla caldav-client[3111]: [W] Reader::readResponse:89 - unable to parse iCal data</d:prop></d:propstat></d:response>

When I download the above .ics file directly from the webbrowser, I can validate it sucessfully with the ical web validator.

Could anybody help me with the problem. Thank you.

edit retag flag offensive close delete

Comments

For me, some calendar events are working, some are missing on my Jolla phone+tablet since (I think) the upgrade to owncloud 9. On my iPad and Android tablet (with DAVdroid) they work fine, the same items that are missing on the Jolle Phone (2.0.0.10) are missing on the tablet (2.0.1.7). Changing the item's calendar from "default calendar" to "Feiertage" sometimes makes them visible, sometimes not. But phone and tablet are always in sync, if an item is missing on the phone it's missing on the tablet as well. I don't remember missing items with older owncloud versions and my Jolla phone (I haven't had my tablet back then), I've been using owncloud calendars for over a year now.

duesselschorsch ( 2016-04-17 14:40:47 +0200 )edit

@kilfinge if you can send me the entire event (iCal form) with personal information redacted, I will investigate. Thanks!

chris.adams ( 2016-04-18 04:55:51 +0200 )edit

Thank you chris for helping ! I am not sure how to sent / attach the a file on the forum, therefore below is the pastebin link:

http://pastebin.com/raw/ifZYBxv5

kilfinge ( 2016-04-18 07:36:01 +0200 )edit
1

Thanks to those who sent me some failing cases, I believe that I have found the problem with the CalDAV sync plugin. See https://bugs.merproject.org/show_bug.cgi?id=1568 for information, basically we don't handle correctly those .ics files which don't specify a VERSION:2.0 field.

I will need to improve the import methods so that if the input file is a .ics file and the VERSION field is missing, that we inject VERSION:2.0 into the stream; if the input file is a .vcs file and the VERSION field is missing, we need to inject VERSION:1.0 and also use a different import method (as the one we currently use seems to only handle iCalendar / VERSION:2.0 correctly).

At this stage, I don't know which version this issue will be fixed in, I'll try to get it in ASAP.

chris.adams ( 2016-04-18 09:24:32 +0200 )edit

Thanks Chris for tracking down the problem. Meantime as workaround I have modified app.js and ical.js in my owncloud instance in calendar app to add this VERSION: 2.0 field so my events are synchronizing now. Unfortunately I have simillar problem with carddav in owncloud 9. Do you have maybe hint where the problem could be?

kilfinge ( 2016-04-20 02:00:28 +0200 )edit