CardDav contacts remain even when deleted on the server

asked 2016-06-23 12:37:22 +0300

hammerhead gravatar image

updated 2016-06-23 12:37:47 +0300

Steps to reproduce:

  1. Sync CardDav contacts
  2. Delete a contact from the server
  3. Sync again
  4. Realize that the Sailfish device still has the contact
edit retag flag offensive close delete



After synchronising the deletion from the server, only the data which was synchronised from the server will be deleted. That is, if you added any information to the contact locally (phone number, favorite, etc) the contact will remain on your device, as that local data will not be removed.

Once we upgrade to the newer QtPIM API, we are aiming to improve the synchronisation semantics with proper per-addressbook sync policies, but that's a little way off into the future.

chris.adams ( 2016-06-24 06:59:15 +0300 )edit

Strange. So the contact should have been removed from the phone?

(I didn't change any details on the phone, thus the entire contact should fall into the category "data which was synchronised from the server".)

hammerhead ( 2016-06-27 00:23:16 +0300 )edit

Yes, if that deletion is not being synced, that is a bug. Which type of CardDAV server are you using? And which version? Are you able to provide a test account at that server, which I can test with? Thanks!

chris.adams ( 2016-06-27 04:21:42 +0300 )edit

@chris.adams, do you have any news regarding Carddav sync? Two years passed by and the issue is still present in Sailfish 2.2.0. Deletions on one side are not recognized on the other. I can give you an account on a test server running SabreDav.

rweickelt ( 2018-07-05 15:35:46 +0300 )edit

Yeah this is what saddens me the most about Sailfish's development priorities: I can understand that many advanced features aren't there, but crippled contacts management?! Contacts are the most basic thing a phone should be capable of handling. Apart from the issues described here, we cannot even use multiple CardDav sources, since the phone won't ask to which of them new contacts should be added. So whatever new contact I add, it will go to into my business account, AFAIR. Maybe because "business" is before "personal" in alphabetical order. So before taking the risk of messing up my contacts, I add them by emailing it to my PC, adding it there to the CardDav server and then syncing back to Sailfish. Ugh.

hammerhead ( 2018-07-05 16:19:49 +0300 )edit