Re: [SailfishDevel] [CardDAV] duplicate entries

2017-02-19 Thread Chris Adams
Hi Eli,

Sorry for top posting, but OWA doesn't quote properly.

Firstly, was_local contacts occur when a local (phone device) contact is 
aggregated into another contact which already had a local constituent.  We only 
allow one single local constituent per aggregate contact, so one of them gets 
demoted to was_local.  This can occur if you import from a .vcf or via 
Bluetooth, for example.

If you can reproduce the duplication event and provide sync logs of that event 
(as per 
https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs)
 that would be helpful!

You should be able to delete the contacts from the database so long as you also 
delete any entries from the OOB table which relate to that CardDAV account.

Best regards,
Chris.



From: Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S. Rosenberg 
[es.rosenberg+sailfishos@gmail.com]
Sent: Monday, February 20, 2017 9:13 AM
To: Sailfish OS Developers
Subject: [SailfishDevel] [CardDAV] duplicate entries

Hi everyone,
Last week I noticed that my phone seems to have gone into similar behavior as I 
described a long time ago with google sync here:
https://together.jolla.com/question/58416/fixing-the-contacts-db/

I currenlty have 26k entries in contacts.db for 9xx contacts.

I suspect that this may be linked to a stage where I was connected via a 
filtered provider that tried to MITM the connection and caused it to close with 
an authentication error, I'm going to clean it up the same way I described 
there and turn carddav back on but I am wondering if anyone else has 
experienced similar issues.

Is anyone aware of any reason not to just delete everything with syncTarget == 
carddav (or != local)?

Thanks,
Eli

Stats:
987aggregate
23128carddav
1419google
930local
2sim
65telepathy
2voicemail
3was_local

What does 'was_local' mean?
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] [CardDAV] duplicate entries

2017-02-19 Thread E.S. Rosenberg
Hi everyone,
Last week I noticed that my phone seems to have gone into similar behavior
as I described a long time ago with google sync here:
https://together.jolla.com/question/58416/fixing-the-contacts-db/

I currenlty have 26k entries in contacts.db for 9xx contacts.

I suspect that this may be linked to a stage where I was connected via a
filtered provider that tried to MITM the connection and caused it to close
with an authentication error, I'm going to clean it up the same way I
described there and turn carddav back on but I am wondering if anyone else
has experienced similar issues.

Is anyone aware of any reason not to just delete everything with syncTarget
== carddav (or != local)?

Thanks,
Eli

Stats:
987aggregate
23128carddav
1419google
930local
2sim
65telepathy
2voicemail
3was_local

What does 'was_local' mean?
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org