GNOME Bugzilla – Bug 605454
Contact display depends upon LDAP attribute ordering
Last modified: 2018-12-12 11:52:49 UTC
Forwarding from a Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=548521 When displaying contacts from an LDAP addressbook, the order in which an entry's attributes are returned affects the way the contact is displayed. If the LDAP server returns the following entry: dn: cn=Joe Bloggs,dc=example,dc=com objectClass: person objectClass: inetOrgPerson givenName: Joe sn: Bloggs cn: Joe Bloggs mail: joe.bloggs@example.com then the default contact display is headed just "Bloggs" at the top of both the address card pane and the preview pane, and the person's given name is not displayed anywhere in the preview pane. If the LDAP server returns the entry with the attributes in a slightly different order, however ('cn' before 'sn'): dn: cn=Joe Bloggs,dc=example,dc=com objectClass: person objectClass: inetOrgPerson cn: Joe Bloggs givenName: Joe sn: Bloggs mail: joe.bloggs@example.com then the contact is correctly headed "Bloggs, Joe" in both the address card pane and the preview pane. This shouldn't be the case - the LDAP specification stipulates that the server may return an entry's attributes in any order. Evolution should be using the value of 'cn' if available, whether or not it precedes 'sn' in the returned entry. This is with evolution-2.28.0-2.fc12.i686 and evolution-data-server-2.28.0-1.fc12.i686
This had been fixed with changes from bug #652173, as kind of a side effect, thus I'm closing this as a duplicate of it. *** This bug has been marked as a duplicate of bug 652173 ***