GNOME Bugzilla – Bug 637144
Google addressbook sync: Middle Name problems
Last modified: 2011-10-05 23:17:28 UTC
I working with android phone and google contacts when I see contacts on android or google web page I see them correctly but in evolution I added google addressbook and I don't see contacts in the same form, I'm get crazy seeking people in addressbook. If in Google I have Name: Ca n'Ayxelà and surname:Rest. in evolution I see Name Ca Middle Name n'Ayxela and surname Rest. In this conditions if I see all contacts only appears Ca,Rest. In my country Ca is applied to many places its more important see n'aixelà. Can you arrange this, making name=name, middle name=second name and surname= end name?? thanks.
The code that parses the Google contacts data is in libgdata, which in Ubuntu 10.04 is version 0.5.2. I'm pretty sure that version defaults to either version 1.0 or version 2.0 of the Google Contacts API. Versions 1.0 and 2.0 don't provide the name parts, only the full name. Therefore, Evolution is forced to parse the name itself, and uses the "Northern European" standard for names. I confirmed that using the Ruby Google API on Ubuntu 10.04, and forcing it to use version 3.0 of the API, returns the name parts. If someone could confirm that Evolution 2.28 (the version that comes with Ubuntu 10.04) will use the name parts if libgdata provides them, then I will try to figure out how to upgrade libgdata without upgrading the Ubuntu version.
Thanks for a bug report. I do not think the update of libgdata will help, there might be done some changes in the backend. More that that this seems to me like related to bug #636810
Is this still a problem? Recent versions of libgdata use version 3 of the Google Contacts API and have full support for structured names, which should be exposed in Evolution correctly. If it is still a problem could you run e-addressbook-factory with the GOOGLE_BACKEND_DEBUG=1 and LIBGDATA_DEBUG=3 environment variables set, reproduce the problem in Evolution (e.g. edit a contact and change their name) and then attach the resulting log from e-addressbook-factory here please? (You may want to censor out private details from the log first, as it can include your password, and obviously all the details of your contacts.) Thanks.
Is there an easy way to test this on a machine running Ubuntu 10.04? Please give reasonably explicit instructions if there is. Otherwise, I will have an 11.04 machine in a couple of weeks. I'll check the version of libgdata and test to see if the bug is fixed.
(In reply to comment #4) > Is there an easy way to test this on a machine running Ubuntu 10.04? Please > give reasonably explicit instructions if there is. Otherwise, I will have an > 11.04 machine in a couple of weeks. I'll check the version of libgdata and test > to see if the bug is fixed. To do so would require compiling libgdata, evolution-data-server and Evolution yourself, so it's probably easiest to wait until you have the 11.04 machine. Let me know when you get a chance to test it out on that machine. Thanks!
Will do.
I got the 11.04 machine, but I'm affect by Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/libgdata/+bug/755043, so I still can't test it. I'll test when I can.
OK. I fixed the contacts that were triggering the above bug and loaded my Google contacts. If I add a new contact with two surnames using the "Full Name..." dialog, it correctly stores the and orders the contact alphabetically by the first last name. However, the "File Under..." field is disabled for Google contacts, so I can't fix the hundreds of contacts that got misfiled when I used my Google contacts with earlier versions of Evolution.
(In reply to comment #8) > OK. I fixed the contacts that were triggering the above bug and loaded my > Google contacts. If I add a new contact with two surnames using the "Full > Name..." dialog, it correctly stores the and orders the contact alphabetically > by the first last name. Great! I'll mark this bug as fixed then. > However, the "File Under..." field is disabled for Google contacts, so I can't > fix the hundreds of contacts that got misfiled when I used my Google contacts > with earlier versions of Evolution. That's a separate problem, which I've filed as bug #661033.