CalDAV conflict management
I think, CalDAV synchronization could need better conflict management.
Steps to reproduce:
- create an event in a CalDAV synchronized calendar
- sync this calendar with the server
- sync another application (e.g. thunderbird with lightning) with this calendar
- edit this event on your jolla phone
- edit this event in thunderbird (with default settings, this will sync your changes to the server immediately)
- sync your jolla phone with the CalDAV calendar on the server
Expected behaviour:
The CalDAV sync app should detect a conflict (event changed on the server since last sync, while changed on jolla phone, too) and ask the user to:
- dismiss the local changes and load the event from the server
- overwrite the event on the server with the local one
(Thats the way, it is handled in thunderbird.)
An ultimate pro feature would be to provide a diff, to see what data conflicts in detail. ;) (But that is not even provided by thunderbird.)
Actual behaviour:
With 1.0.8.21 (Tahkalampi), CalDAV seems to always drop local changes on the jolla phone, in case of a conflict.
Use case:
Let's say I share with my partner a common CalDAV calendar. At the weekend, we plan a big shopping trip and write stuff, we want to by in the description field of the calendar event. If my partner adds another point, which came to mind at work, and I add one point, one of those points might get silently dropped. And we miss to buy this item. :(
This is no reliable behaviour. And I think everyone of us, would like to have a reliable jolla phone! :)
Priority:
I guess, this is not a top priority CalDAV TODO, since it won't happen very often and there other synchronization problems, which need fixing sooner. But since the actual behaviour does silently delete user information (= dropping local changes), since should be fixed in end, too.