DecSyncCC icon indicating copy to clipboard operation
DecSyncCC copied to clipboard

Contact Name is required

Open alensiljak opened this issue 2 years ago • 8 comments

The contacts without a name are not processed by DecSync.

When creating a contact for a company, which includes only the company name and the phone number, for example, these remain in the Android address book and are not synchronized.

The entries are considered invalid by DecSync because they do not have the display name (FN field, I think).

In my opinion, either

a) the company should be used for the FN field, if no other names exist, or b) FN should not be required to process a record

alensiljak avatar Jan 04 '22 08:01 alensiljak

I cannot reproduce this. When I create such contact it is correctly stored (with a FN), and when the collection is removed and added again it does correctly reappear. With which apps are you syncing, maybe the problem lies there?

39aldo39 avatar Jan 06 '22 21:01 39aldo39

One scenario that I can reproduce just using the phone is this:

  • open Simple Contacts (supports vcard 4)
  • create a new contact (just open the form)
  • enter only the company name
  • save
  • check the number of records in DecSync

The number of Android records will be smaller than the number of processed records by one. Delete the new record in Simple Contacts and the numbers will match again.

I may be able to get some contact records from the backups, in order to reproduce other issues. So far I've managed to clean everything up so this is to try to improve in general.

alensiljak avatar Jan 06 '22 21:01 alensiljak

~~If I create a new contact in Simple Contacts I don't even see a Company field.~~ I see I have to enable it in the settings. After I do that it still works the same for me as the default contacts application.

39aldo39 avatar Jan 06 '22 21:01 39aldo39

That's weird. V6.16.3 from F-Droid:

Screenshot_20220106-230416_Contacts

alensiljak avatar Jan 06 '22 22:01 alensiljak

I do see it now (see the edit). What is your DecSync CC version? It could be the case that it didn't work in a previous version. I think it works from v2.2.0 and higher.

39aldo39 avatar Jan 06 '22 22:01 39aldo39

OK. Just for the record as something else could be the culprit, then

Screenshot_20220106-230635_Contacts


Screenshot_20220106-230655_Contacts


Screenshot_20220106-230715_DecSync_CC

The record, in the second screenshot, does not have the little head icon, which is a visual indicator for the field.

alensiljak avatar Jan 06 '22 22:01 alensiljak

I do see it now (see the edit). What is your DecSync CC version? It could be the case that it didn't work in a previous version. I think it works from v2.2.0 and higher.

I've got v2.2.3 now. I think that's the current one on F-Droid.

alensiljak avatar Jan 06 '22 22:01 alensiljak

BTW, thanks for making this! This is ingenious.

alensiljak avatar Jan 06 '22 22:01 alensiljak