whole day events are created improperly?

asked 2014-11-07 11:34:39 +0300

mlatu gravatar image

updated 2014-11-07 11:36:17 +0300

Now i know there already are multiple entries about this, but none of them contain more info than "it doesnt work", maybe a screenshot.. i tried looking into it a bit more in depth.

    whole day events created on jolla in caldav calendar get "deleted"
    whole day events created using ownclouds webinterface don't appear on jolla but stay in owncloud
    can't access this test calendar using lightning anymore due to a parsing error.

now, the events do get synchronized, but due to a parsing error dont show up in owncloud, i have no idea why jolla doesnt show it anymore but my guess is that jolla also finds it difficult to parse the ics file.. so maybe the parsing is ok but the writing is bad. My guess is that the event is first created in some sort of temporary calendar and then converted to an ics file while synchronizing. then the temp cal gets cleared and the ics file from owncloud goes into the temp cal, except the events with a parsing error. i downloaded the ics file and it appears jolla forgot to write the DTEND Value:

whole day event created by owncloud:

BEGIN:VEVENT
CREATED;VALUE=DATE-TIME:20141106T092956Z
UID:0ee323a339
LAST-MODIFIED;VALUE=DATE-TIME:20141106T092956Z
DTSTAMP;VALUE=DATE-TIME:20141106T092956Z
SUMMARY:wholeday_test1
DTSTART;VALUE=DATE:20141114
DTEND;VALUE=DATE:20141115
END:VEVENT

whole day event created using jolla:

BEGIN:VEVENT
DTSTAMP:20141106T093539Z
X-KDE-BUTEO-ETAG:\\"827eec081316cbefa14cf067eec8f3dd\\"
X-KDE-BUTEO-URI:/owncloud/remote.php/caldav/calendars/mlatu/test/aaaa0f65-f
 9ef-4aa5-870f-4ff7da8ca2de.ics
CREATED:20141106T093032Z
UID:aaaa0f65-f9ef-4aa5-870f-4ff7da8ca2de
LAST-MODIFIED:20141106T093539Z
SUMMARY:Whole day test jolla
DTSTART;VALUE=DATE:20141114
TRANSP:OPAQUE
END:VEVENT

Also, shouldnt CREATED and LAST-MODIFIED and DTSTAMP also specify the datatype? or is that optional? I dont know the RFC by heart.. here is the whole ics file from my owncloud:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:ownCloud Calendar 0.6.3
X-WR-CALNAME:test
BEGIN:VEVENT
DTSTAMP:20140612T135902Z
CREATED:20140612T135902Z
UID:8b4a7f02-6143-4b2e-9529-d10022bc228b
LAST-MODIFIED:20140612T135902Z
SUMMARY:Foo
DTSTART;TZID=Europe/Berlin:20140613T053000
DTEND;TZID=Europe/Berlin:20140613T063000
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
CREATED;VALUE=DATE-TIME:20141106T092956Z
UID:0ee323a339
LAST-MODIFIED;VALUE=DATE-TIME:20141106T092956Z
DTSTAMP;VALUE=DATE-TIME:20141106T092956Z
SUMMARY:wholeday_test1
DTSTART;VALUE=DATE:20141114
DTEND;VALUE=DATE:20141115
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20141106T093539Z
X-KDE-BUTEO-ETAG:\\"827eec081316cbefa14cf067eec8f3dd\\"
X-KDE-BUTEO-URI:/owncloud/remote.php/caldav/calendars/mlatu/test/aaaa0f65-f
 9ef-4aa5-870f-4ff7da8ca2de.ics
CREATED:20141106T093032Z
UID:aaaa0f65-f9ef-4aa5-870f-4ff7da8ca2de
LAST-MODIFIED:20141106T093539Z
SUMMARY:Whole day test jolla
DTSTART;VALUE=DATE:20141114
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20141106T093515Z
CREATED:20141106T093515Z
UID:63e3c8c5-f024-4fed-b758-220f62076455
LAST-MODIFIED:20141106T093515Z
SUMMARY:Test 
DTSTART;TZID=Europe/Berlin:20141116T110000
DTEND;TZID=Europe/Berlin:20141116T120000
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20141106T131644Z
CREATED:20141106T131644Z
UID:bcf35bab-6a01-4b8d-b7c7-1b6330c4e0b7
LAST-MODIFIED:20141106T131644Z
SUMMARY:Whole day jolla
DTSTART;VALUE=DATE:20141115
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
edit retag flag offensive close delete