DecSyncCC icon indicating copy to clipboard operation
DecSyncCC copied to clipboard

importing a vcf record from two files is weird

Open fisx opened this issue 2 years ago • 2 comments

I have two overlapping vcf files with two versions of my address book. I've imported both via file import to the decsync-controlled account.

expected behavior

  • duplicates should either show or (ideally) overwrite themselves since they should be identical. (the reason the latter doesn't happen may be that they have gotten different IDs in the different exports, haven't checked that).

actual behavior

  • only one of the two entries is shown in the default contacts app.
  • if i try to edit it, i get asked to select one of two identical looking entires.
  • if i pick one at random, that's the one that is shows in the address book. the other one still isn't shown.
  • if i edit again, i get asked again, this time, the two entries are distinguishable by the first edit.

this is not a big deal, i can work my self around that by writing code that cleans up the mess in the data on my laptop, but i'm not sure it's "works as designed", or if you want to know about it. so here you go. :)

thanks!

fisx avatar Nov 07 '21 10:11 fisx

I'm also wondering about the entries counts in the app: what's the semantics of android vs. processed vs. dechsync?

fisx avatar Nov 07 '21 11:11 fisx

They should indeed overwrite themselves, but I think there is a problem somewhere where the two contacts are seen as distinct. Could you open the exported files and look at the UID of a duplicate contact? Are they the same?

39aldo39 avatar Nov 19 '21 19:11 39aldo39