Red Hat Bugzilla – Bug 906341
Cannot create a new MAPI Book/Calendar
Last modified: 2015-09-27 22:14:14 EDT
Description of problem:
When I create a new MAPI Address Book in evolution, it is not synced - I don't see it from other clients like OWA and also it doesn't retain any contacts.
I'm getting "Unable to perform search. This query did not complete successfully
" error when I select the Address Book.
When I create a new contact in it, on next start it's displayed in the default "Contacts" Address Book. The newly created Address Book remains empty.
Tested with MS Exchange 2010 server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new MAPI Address Book
2. Select it
3. Create a new contact in it
4. Restart evo
5. Select the newly created Address Book
6. Open the account in another client (OWA)
Address Book is not accessible from other clients and fails to retain any contacts
To be honest, I do not know how OWA works with user-created book/calendar (bug #906364) folders. I think if you create the folder under "Contacts", or under "Calendar" (simply below the "Personal Folders", then it'll be shown in the OWA too.
*** Bug 906364 has been marked as a duplicate of this bug. ***
This depends on the QueryRows bug (bug #905591), without it evolution-mapi throws errors when selecting newly created books/calendars.
Otherwise this is addressed by three upstream bugs:
Please note that to have this fully working, one should visit the Mail view and see there the folders, otherwise the list of places in New Book/Calendar is "empty", consisting only with "Personal Folders", which is just a virtual node.
Created attachment 691527 [details]
This is a compilation of the fixes for those three upstream bug reports and a bit more changes, thus user cannot create folders directly under the "Personal Folders" node. The Exchange's 2010 OWA shows calendar/book folders regardless whether they are created under Mailbox folder or the mailbox/Calendar folder, it only requires to be re-logged, to not use cached data.
All three upstream patches from comment #5 are part of 0.32.2, thus I make this depends also on the rebase bug.
Created attachment 809346 [details]
The addressbook is created and synced to server but it contains three malformed contacts (see screenshot) which only shows in Evolution. After opening the adressbook in OWA they disappear on next sync.
Also cannot delete or rename the adressbook and it doesn't retain any contacts created in evo, they appear in Contacts after restart. Should I file separate bugs for these?
Addressbok created under Mailbox > Contacts.
It seems to me that there are missing upstream patches for
Deadlock when enables an account
Not set "folder-id" property on an addressbook source
I see it working fine with them. Here  is a test package for confirmation. Please, give it a try.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.