GNOME Bugzilla – Bug 648877
Evolution-ews address completion gives mailbox name rather than contact name
Last modified: 2011-12-08 08:34:46 UTC
When using evolution-ews to connect to an exchange server, evolution will auto-complete email addresses while typing, which is great! However, the name it completes on is the name of the mailbox, not the name of the contact. Depending on your setup, the name of the mailbox may be simply your initials, which isn't very helpful. On IRC I discussed this with David Woodhouse, and we found out that the data needed to find the contact's name can be obtained by setting ReturnFullContactData="true" when searching for contacts in Exchange. Please let me know If I can provide further data or help.
Specifically, I think that in Kåre's case, the name returned in the <Mailbox><Name> is bogus. The "correct" information is only received in the <Contact><DisplayName> after requesting the full contact data.
Created attachment 201814 [details] [review] proposed ews patch for evolution-ews; I suppose this might do the trick. It did for me.
Downstream bug report from 3.2.2 about a crash to which the above patch is covered as well: https://bugzilla.redhat.com/show_bug.cgi?id=754385
+ Trace 229090
Thread 1 (Thread 0x7fd9917fa700 (LWP 15041))
Created attachment 201979 [details] [review] proposed ews patch ][ for evolution-ews; Updated patch, to use only SMTP email addresses from the contact information, and if none found, then fallback to an address from the Mailbox node.
Review of attachment 201979 [details] [review]: Looks good. please commit.
The updated patch works perfectly in my testing environment, thanks!
Created commit 89fa2fe in ews master (3.3.3+)
I took the part for the crash and committed it to stable branch too, because we got quite few crash reports downstream from there. Created commit f719409 in ews gnome-3-2 (3.2.3+)