@schiri said in davx5 not syncing tasks with mailbox.org:
2. Sync with DAVx⁵.
5. Sync with DAVx⁵.
Manual sync, I guess?
Hence, my question is: what changed from 2.6.2 to 2.6.3(.1) that causes sync not working until some task was edited on the phone?
Before c267c92a (see changes in last lines of
SyncManager.kt; 27 Dec 2019; released with 2.6.3), forced (= manual) sync didn’t take the CTag/sync-token into account and (in PROPFIND/REPORT mode) always requested a full listing. Note that this is not consistent with automatic sync, because automatic sync always checks (and always has checked) the CTag/sync-token of a collection before synchronizing. When the CTag/sync-token didn’t change since the last synchronization, another synchronization is not required – that’s the whole reason for the existence of
CTag [https://github.com/apple/ccs-calendarserver/blob/master/doc/Extensions/caldav-ctag.txt#L173] /
In your case, a manual sync with ≤ 2.6.2 will synchronize the new tasks, but automatic synchronization will not. Can you verify that? Also, other clients won’t sync these new tasks, too (at least if they check CTag/sync-token before).
So to summarize: since 2.6.3, manual sync behaves equally as automatic sync, and behaves like it is expected to do.
I am going to check the 2.6.2-ose version because it would be great to be solved in that version…
The problem won’t be solved, but it can be worked around if you do manual syncs whenever you want new tasks to appear.