REPRODUCIBILITY (% or how often): 100%
BUILD ID:
HARDWARE (Jolla1, Tablet, XA2,…): Xperia X (probably irrelevant)
UI LANGUAGE: English (irrelevant)
REGRESSION: (compared to previous public release: Yes, No, ?): ?
DESCRIPTION:
I just missed an appointment (AGAIN) because the CalDAV sync broke down AGAIN. Now I realize many of the related bugs have been fixed, but this is a pretty fundamental one. The problem is that an error response from the server apparently stops the entire sync process dead (see log excerpt below).
PRECONDITIONS:
So it appears I have an event in my local calendar that the server considers invalid. I received it via an email invitation, so I guess there’s really no way to make sure these things will be accepted by every server.
STEPS TO REPRODUCE:
Get the server to send an error response on some event in the local calendar (e.g. have an ill-formatted event in the calendar).
EXPECTED RESULT:
A notice should be put ON THE AFFECTED EVENT (in the calendar!) saying that it couldn’t be synced to the server, and an error message should be escalated to the global notification UI. Synchronization should then continue with the next event (!!)
ACTUAL RESULT:
Calendar synchronization simply stops dead at the event, failing to synchronize any later events, both to and from the server.
ADDITIONAL INFORMATION:
[D] unknown:0 - “---------------------------------------------------------------------”
[D] unknown:0 - “If-None-Match : *”
[D] unknown:0 - “Content-Length : 3107”
[D] unknown:0 - “Content-Type : text/calendar; charset=utf-8”
[D] unknown:0 - “URL = ETCETCBLABLA”
[D] unknown:0 - “Request : PUT”
[D] unknown:0 - "BEGIN:VCALENDAR "
[D] unknown:0 - "PRODID:-//K Desktop Environment//NONSGML libkcal 4.3//EN "
[D] unknown:0 - "VERSION:2.0 "
[D] unknown:0 - "X-KDE-ICAL-IMPLEMENTATION-VERSION:1.0 "
[D] unknown:0 - "BEGIN:VTIMEZONE "
[D] unknown:0 - "TZID:Europe/Berlin "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+005328 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:20380119T031408 "
[D] unknown:0 - "RDATE:20380119T031408 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19810329T020000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0100 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19160501T220000 "
[D] unknown:0 - "RDATE:19160501T220000 "
[D] unknown:0 - "RDATE:19170416T010000 "
[D] unknown:0 - "RDATE:19180415T010000 "
[D] unknown:0 - "RDATE:19400401T010000 "
[D] unknown:0 - "RDATE:19430329T010000 "
[D] unknown:0 - "RDATE:19440403T010000 "
[D] unknown:0 - "RDATE:19450402T010000 "
[D] unknown:0 - "RDATE:19460414T010000 "
[D] unknown:0 - "RDATE:19470407T020000 "
[D] unknown:0 - "RDATE:19480418T010000 "
[D] unknown:0 - "RDATE:19490410T010000 "
[D] unknown:0 - "RDATE:19800406T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19800928T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;COUNT=16;BYDAY=-1SU;BYMONTH=9 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19961027T030000 "
[D] unknown:0 - "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:STANDARD "
[D] unknown:0 - "TZNAME:CET "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0100 "
[D] unknown:0 - "DTSTART:19161001T230000 "
[D] unknown:0 - "RDATE:19161001T230000 "
[D] unknown:0 - "RDATE:19170917T020000 "
[D] unknown:0 - "RDATE:19180916T020000 "
[D] unknown:0 - "RDATE:19421102T020000 "
[D] unknown:0 - "RDATE:19431004T020000 "
[D] unknown:0 - "RDATE:19441002T020000 "
[D] unknown:0 - "RDATE:19451118T020000 "
[D] unknown:0 - "RDATE:19461007T020000 "
[D] unknown:0 - "RDATE:19471005T020000 "
[D] unknown:0 - "RDATE:19481003T020000 "
[D] unknown:0 - "RDATE:19491002T020000 "
[D] unknown:0 - "END:STANDARD "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEMT "
[D] unknown:0 - "TZOFFSETFROM:+0200 "
[D] unknown:0 - "TZOFFSETTO:+0300 "
[D] unknown:0 - "DTSTART:19450525T000000 "
[D] unknown:0 - "RDATE:19450525T000000 "
[D] unknown:0 - "RDATE:19470511T020000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "BEGIN:DAYLIGHT "
[D] unknown:0 - "TZNAME:CEST "
[D] unknown:0 - "TZOFFSETFROM:+0300 "
[D] unknown:0 - "TZOFFSETTO:+0200 "
[D] unknown:0 - "DTSTART:19450925T000000 "
[D] unknown:0 - "RDATE:19450925T000000 "
[D] unknown:0 - "RDATE:19470630T000000 "
[D] unknown:0 - "END:DAYLIGHT "
[D] unknown:0 - "END:VTIMEZONE "
[D] unknown:0 - "BEGIN:VEVENT "
[D] unknown:0 - "ORGANIZER:MAILTO:ETCETCBLABLA "
[D] unknown:0 - "DTSTAMP:20200525T154306Z "
[D] unknown:0 - "ATTENDEE;CN=^‘ETCETCBLABLA^’;RSVP=TRUE;PARTSTAT=NEEDS-ACTION; "
[D] unknown:0 - " ROLE=REQ-PARTICIPANT;X-UID=ETCETCBLABLA "
[D] unknown:0 - "ATTENDEE;CN=^‘ETCETCBLABLA^’;RSVP=TRUE;PARTSTAT=NEEDS-ACTION; "
[D] unknown:0 - " ROLE=REQ-PARTICIPANT;X-UID=ETCETCBLABLA "
[D] unknown:0 - "ATTENDEE;CN=^‘ETCETCBLABLA^’;RSVP=TRUE;PARTSTAT=NEEDS-ACTION; "
[D] unknown:0 - " ROLE=REQ-PARTICIPANT;X-UID=ETCETCBLABLA "
[D] unknown:0 - "ATTENDEE;CN=^‘ETCETCBLABLA^’;RSVP=TRUE;PARTSTAT=NEEDS-ACTION; "
[D] unknown:0 - " ROLE=REQ-PARTICIPANT;X-UID=ETCETCBLABLA "
[D] unknown:0 - "CREATED:20200525T154128Z "
[D] unknown:0 - "UID:{922abf73-bc4f-4adf-8205-03414e8a5396} "
[D] unknown:0 - "LAST-MODIFIED:20200525T154306Z "
[D] unknown:0 - "DESCRIPTION:ETCETCBLABLA "
[D] unknown:0 - " ETCETCBLABLA "
[D] unknown:0 - " ETCETCBLABLA "
[D] unknown:0 - " ETCETCBLABLA "
[D] unknown:0 - " ETCETCBLABLA "
[D] unknown:0 - " ETCETCBLABLA "
[D] unknown:0 - “ETCETCBLABLA”
[D] unknown:0 - “ETCETCBLABLA”
[D] unknown:0 - “ETCETCBLABLA”
[D] unknown:0 - "DTSTART;TZID=Europe/Berlin:20200528T150000 "
[D] unknown:0 - "DTEND;TZID=Europe/Berlin:20200528T163000 "
[D] unknown:0 - "TRANSP:OPAQUE "
[D] unknown:0 - "END:VEVENT "
[D] unknown:0 - "END:VCALENDAR "
[D] unknown:0 - “---------------------------------------------------------------------”
[D] unknown:0 - PUT request finished: QNetworkReply::NetworkError(UnknownContentError)
[D] unknown:0 - “---------------------------------------------------------------------”
[D] unknown:0 - “PUT response status code: 415”
[D] unknown:0 - “PUT response headers:”
[D] unknown:0 - “\tDate : Thu, 09 Jul 2020 21:22:13 GMT”
[D] unknown:0 - “\tServer : Apache”
[D] unknown:0 - “\tTransfer-Encoding : chunked”
[D] unknown:0 - “\tContent-Type : application/xml; charset=utf-8”
[D] unknown:0 - “PUT response data:<?xml version=\"1.0\" encoding=\"utf-8\"?>”
[D] unknown:0 - “<d:error xmlns:d=“DAV:” xmlns:s=“http://sabredav.org/ns">"
[D] unknown:0 - " <s:exception>Sabre_DAV_Exception_UnsupportedMediaType</s:exception>”
[D] unknown:0 - " <s:message>This resource only supports valid iCalendar 2.0 data. Parse error: Invalid VObject, line 90 did not follow the icalendar/vcard format</s:message>”
[D] unknown:0 - “</d:error>”
[D] unknown:0 - “---------------------------------------------------------------------”
[W] unknown:0 - The “PUT” operation failed with error: QNetworkReply::NetworkError(UnknownContentError) : 401
[W] unknown:0 - “PUT” request failed. 401 “Network request failed with QNetworkReply::NetworkError: 299”
[W] unknown:0 - Aborting sync, “PUT” failed “Network request failed with QNetworkReply::NetworkError: 299” for notebook “ETCETCBLABLA” of account: “12”
[D] unknown:0 - Notebook sync finished. Total agents: 1
[W] unknown:0 - Aborting! Notebook synchronisation failed: 401 : “Network request failed with QNetworkReply::NetworkError: 299”
[W] unknown:0 - CalDAV sync failed: 401 “Network request failed with QNetworkReply::NetworkError: 299”
[D] unknown:0 - Session finished: “caldav-sync-12” , status: 3
[D] unknown:0 - aStatus 3
[D] unknown:0 - ProfileManager::syncProfile( “caldav-sync-12” )
[D] unknown:0 - found a valid sync profile with the given name: “caldav-sync-12”
[D] unknown:0 - Stopping the OOP process for “caldav”
[D] unknown:0 - Process “/usr/lib/buteo-plugins-qt5//oopp/caldav-client” finished with exit code 15
[D] unknown:0 - ProfileManager::syncProfile( “caldav-sync-12” )
[D] unknown:0 - found a valid sync profile with the given name: “caldav-sync-12”
[D] unknown:0 - Sync status changed for account “12”