GNOME Bugzilla – Bug 667849
Unable to open Contacts address book
Last modified: 2012-04-18 12:52:40 UTC
Evolution 3.3.3 1. Configured account with Exchange 2010 server 2. Switched to address book 3. Click on 'contacts' address book which is under ews account tree 4. It throws an error Unable to open address book. This addressbook cannot be opened. This either means that an incorrect URI was entered, or the server is unreachable.
Created attachment 205173 [details] [review] Use e_uri instead of soup_uri since the former parses the parameters properly
Milan, it would be nice if you can have a look at the patch.
Doesn't work for me. I believe the issue is not with SoupURI, it's somewhere else. I tried and SoupURI generates: ews://user@server.com;folderid%3DAAMkA...WqAAA%3D while EUri generates ews://user@server.com;folderid=AAMkA...WqAAA= but both are failing the same way (as Akhil wrote in comment #0). The issue is with the source definition, rather than anything else. It is like this: <group ... base_uri="ews://"> <source ... relative_uri="user@server.com;folderid=AAMkA...WqAAA=" ... and the e_source_get_uri() basically concatenates base_uri with relative_uri, which does not indicate there being any parameters, neither server name to use when asking for authentication. For example MAPI uses: base_uri="mapi://user@exchange.server.com/" relative_uri=";Contacts" Note that ews' "user@server.com" is an email address being filled in the account creation dialog, while mapi's "user@exchange.server.com" is login @ full exchange server name as filled in account creation dialog.
Created attachment 208213 [details] [review] proposed ews patch for evolution-ews; This change makes it work for me. The only issue is that the account should be disabled and enabled again, because the folder structure is not updated completely, but only with server changes, which is OK, only here it makes a little "trouble". You can recognize correct contact sources by its color, they have set none with this patch, instead of their orange color.
Review of attachment 208213 [details] [review]: Makes sense. Please commit the patch. Thanks a lot!!
Created commit 857ba24 in ews master (3.3.92+)
*** Bug 664698 has been marked as a duplicate of this bug. ***