Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some random contacts and some random contact images aren't imported #1

Open
2 tasks
novoid opened this issue Oct 20, 2020 · 0 comments
Open
2 tasks
Labels

Comments

@novoid
Copy link
Owner

novoid commented Oct 20, 2020

I analyzed the situation in detail in 2014 and created this issue on 2020-10-20 in order to communicate this issue to other users. (My internal heading for detailed analysis: id:2014-01-12-org-contacts2vcard-issue)

Issue Description

The issue is that (1) some contacts may not get imported to the Android contact database and (2) some of the imported contacts that got photographs associated do not get their contact image set.

Example numbers: 41 missing contacts when importing 732 contacts.

Analysis

In short, I could not get any pattern when comparing different contacts and different photographs. The "selection" of missing data seems random but constant for the same vcard file: one vcard file results in same set of missing data when imported multiple times. When same set of vcard data is re-arranged within the vcard file, the set of missing data changes.

In other words: When order of contacts in the VCard is changed, different contacts may get omitted and different images may not get imported. When I import previously failed contacts in a separate file (the missing contact is the only entry in this file), the contacts get imported flawlessly.

Therefore, it does seem to be no issue of the image files or contact data.

When I export the Android contacts to a file and re-imports this file, some contacts also get lost:

  • my contacts file has 773 entries
  • 732 contacts shown in contacts on Android (41 missing)
  • 646 contacts in re-export VCF file found
    • another 86 missing additionally
    • totals to 127 missing for the round-trip

Meanwhile, I consider this being an Android bug in all versions since at least 2014 which is quite puzzling to me.

  • re-evaluate import success and missing images with Android 9 or newer (since I stopped analyzing the issue after 2014-12)
  • get feedback from other users with completely different contact data and contact images

Workaround/Mitigation

  1. I'm deriving two vcard files from my contacts.org: one without the images and one with the images.
  2. I purge the Android contact database, removing all contacts and all contact images.
  3. Then I import both vcard files which then results in a maximum of imported contacts.

This is no 100 percent solution, just a minimization of the set of missing contact data.

Help Needed

If you do have any input on this issue, please let me know!

@novoid novoid added the bug label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant