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

Contacts with only ORG get a wrong first/last name on sync #31

Closed
rfc2822 opened this issue Feb 6, 2024 · 0 comments · Fixed by #30
Closed

Contacts with only ORG get a wrong first/last name on sync #31

rfc2822 opened this issue Feb 6, 2024 · 0 comments · Fixed by #30
Assignees
Labels
bug Something isn't working

Comments

@rfc2822
Copy link
Member

rfc2822 commented Feb 6, 2024

Steps to reproduce:

  1. Set up a DAVx5 address book, sync
  2. Add a contact with only an organization ("Only A Company") and a phone number.
  3. Contact is exported as
FN:Only A Company
ORG:Only A Company

because vCard always requires a FN.

  1. Unselect address book, sync, select address book again, sync again.
  2. Contact is downloaded and imported into Android. vcard4android generates an Organization data row (content: "Only A Company") and also a structured name data row (containing only a display name: "Only A Company").
  3. Because the structured name data row is created without components, Android splits the display name into components.

Result:

If the downloaded contact is opened in a contacts app, it shows the correct organization but also First name: Only, Middle name: A, Last name: Company.

Expected result:

Contacts app should only contain the organization, without first/last name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant