https://bugs.freedesktop.org/show_bug.cgi?id=86463

--- Comment #14 from Patrick Ohly <[email protected]> ---
Renato sent me additional logs privately where after a slow sync with time
filter set, a two-way sync removed events on the server. What happens is:
* slow sync Google: CalDAV filter returns a VCALENDAR item containing multiple
VEVENTS, some of them inside, some outside the time range
* slow sync EDS: all of these events get stored in EDS
* slow sync EDS: change tracking records all events
* two-way sync EDS: EDS time range query only lists VEVENTs inside the range.
* two-way sync EDS: change tracking detects the missing events, treats them as
"deleted" and...
* two-way sync Google: ... these out-dated events get deleted.

The right fix is to post-process the CaldDAV response and only consider VEVENTs
which fall into the requested time range. This needs to be done inside the
backend because the CalDAV server only filters per VCALENDAR, not per VEVENT,
and also does not simplify the content of a matching VCALENDAR.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues

Reply via email to