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 637144 - Google addressbook sync: Middle Name problems
Google addressbook sync: Middle Name problems
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Contacts
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-12-13 11:58 UTC by rogfont
Modified: 2011-10-05 23:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rogfont 2010-12-13 11:58:40 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.
Comment 1 Larry Reid 2011-01-18 14:52:24 UTC
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.
Comment 2 Milan Crha 2011-02-11 06:46:15 UTC
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
Comment 3 Philip Withnall 2011-09-21 20:06:05 UTC
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.
Comment 4 Larry Reid 2011-09-23 15:00:04 UTC
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.
Comment 5 Philip Withnall 2011-09-26 16:34:32 UTC
(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!
Comment 6 Larry Reid 2011-09-27 03:05:14 UTC
Will do.
Comment 7 Larry Reid 2011-10-02 14:41:54 UTC
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.
Comment 8 Larry Reid 2011-10-02 20:49:49 UTC
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.
Comment 9 Philip Withnall 2011-10-05 23:17:28 UTC
(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.