Skip to content

Sync does not work correctly when add or edit contact on web interface #109

Description

@rolapp

When I add or edit a contact on the web interface, the sync of phone- and email- types not correctly.
I'm using sogo-connector for thunderbird and carddav-sync for android.

On web type is home, on android type is others, on thunderbird type is work.

douple-qoutes

double-qoutes-android geaendert

double-quotes-tb

I have testing something and found the solution.

VERSION:3.0
PRODID:-//ownCloud//NONSGML Contacts Plus 1.0.9//EN
UID:0378641fdd
N:;double quotes;;;
FN:double quotes 
TEL;TYPE="HOME,VOICE";PREF=1:+49 0815 4711
END:VCARD

The quotes in the TYPE entry are the cause (TEL;TYPE="HOME,VOICE";PREF=1:+49 0815 4711)
I remove the quotes in the database, it looks now like this.

VERSION:3.0
PRODID:-//ownCloud//NONSGML Contacts Plus 1.0.9//EN
UID:60ea10981b
N:;without quotes;;;
FN:without quotes 
TEL;TYPE=CELL,VOICE;PREF=1:+49 171 123 456
END:VCARD

With out quotes sync is now working correctly.
without-qoutes

without-qoutes-android

without-quotes-tb

Add contact in android or thunderbird syncing is also correctly.
I think the contact-editor in contactsplus add the quotes in vcard.
When importing the vCard, the error only occurs when multiple entries in TYPE (HOME,VOICE) or (HOME,FAX)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27157890-sync-does-not-work-correctly-when-add-or-edit-contact-on-web-interface?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19713444&utm_medium=issues&utm_source=github).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions