After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787726 - Can't edit Google contacts: Contact ID already exists
Can't edit Google contacts: Contact ID already exists
Status: RESOLVED INCOMPLETE
Product: evolution
Classification: Applications
Component: Contacts
3.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-09-15 13:24 UTC by Sam Morris
Modified: 2019-11-12 19:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sam Morris 2017-09-15 13:24:23 UTC
Evolution insists that a contact's birthday is 1/1/2017, which is wrong. After editing the date and pressing save, I get an error: "Contact ID already exists".
Comment 1 Milan Crha 2017-09-18 13:59:04 UTC
Thanks for a bug report. I tried to reproduce this with the latest development version and with 3.22.6, but no luck, I can edit already existing contact, changing its Birthday or setting Anniversary day and the server doesn't claim anything.

I recall the same error when creating new contacts, but it was from a CardDAV calendar, not from Google.

Could you run evolution-addressbook-factory from a terminal with some debugging on, to see what it does in the background and what the server responses, please? The commands in the newly started terminal would be:

   $ export G_MESSAGES_DEBUG=all
   $ export LIBGDATA_DEBUG=255
   $ /usr/libexec/evolution-addressbook-factory -w

then wait for 5 seconds, thus D-Bus has enough time to register the new service, and then run evolution and try to reproduce the error. The console will contain raw communication between the server and the client, thus also the information about the contact, but I'm not interested in that information, I would rather want to know what headers had been passed to the server and what exact error the server returned, together with the used format of the birthday value.

By the way, what is your exact version of libgdata, please? It's used with the Google addressbooks.
Comment 2 Alexandre Franke 2019-11-12 19:16:01 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!