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 659560 - Can't add contacts to google contacts
Can't add contacts to google contacts
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks: 659040
 
 
Reported: 2011-09-20 09:31 UTC by Alexander Larsson
Modified: 2011-09-20 10:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't create new contacts empty (google doesn't allow that) (1.20 KB, patch)
2011-09-20 09:40 UTC, Alexander Larsson
none Details | Review

Description Alexander Larsson 2011-09-20 09:31:54 UTC
The code to add contacts creates an empty contact and then lets you start editing it. This doesn't work for google contacts, because it fails if you create an empty contact.

The quick workaround is to just give the new contact a name that we can easily replace. I'm reusing an old string "Contact Name" to avoid translator issues.
Comment 1 Alexander Larsson 2011-09-20 09:40:14 UTC
Created attachment 197025 [details] [review]
Don't create new contacts empty (google doesn't allow that)

We reuse the "Contact Name" string for full name in order to get some
field set.

This is sort of a workaround. Long term we should probably not create the
folks persona until some fields are added.
Comment 2 Alexander Larsson 2011-09-20 10:30:38 UTC
commited