Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 694134 - Contacts in evolution-mapi address book are not searchable
Contacts in evolution-mapi address book are not searchable
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evolution-mapi (Show other bugs)
6.1
All Linux
low Severity medium
: rc
: ---
Assigned To: Matthew Barnes
Desktop QE
: Patch
Depends On:
Blocks: 960054
  Show dependency treegraph
 
Reported: 2011-04-06 10:40 EDT by Jiri Koten
Modified: 2015-09-27 22:13 EDT (History)
2 users (show)

See Also:
Fixed In Version: evolution-mapi-0.32.2-2.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-20 23:59:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
evolution-mapi-0.28.3-books-for-offline.patch (959 bytes, patch)
2013-05-07 11:12 EDT, Milan Crha
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1540 normal SHIPPED_LIVE Low: evolution security, bug fix, and enhancement update 2013-11-20 19:40:51 EST

  None (edit)
Description Jiri Koten 2011-04-06 10:40:09 EDT
Description of problem:
After creating Exchange MAPI account in evolution, there are two address books, Contacts and Global Address List.

Contacts address book is editable - I can add/edit/delete contacts but is not searchable and therefor autocompletion doesn't work either in composer window.

Global Adress List is searchable (autocompletion works) but is not editable.     

Version-Release number of selected component (if applicable):
evolution-mapi-0.28.3-7.el6.x86_64
evolution-2.28.3-22.el6.x86_64
evolution-data-server-2.28.3-15.el6

How reproducible:
100%

Steps to Reproduce:
1. Create Exchange MAPI account
2. Go to addressbook and choose a MAPI book Contacts
3. Wait till the book is loaded and shows contacts in the view
4. Try to search for some contact
  
Actual results:
Evolution error:
Unable to perform search.
This query did not complete successfully.

Expected results:
Search returns suitable contact(s)
Comment 1 RHEL Product and Program Management 2011-07-05 20:22:34 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.
Comment 2 Milan Crha 2013-01-30 05:21:52 EST
(In reply to comment #0)
> Contacts address book is editable - I can add/edit/delete contacts but is
> not searchable and therefor autocompletion doesn't work either in composer
> window.

Hmm, this is not correct.

> Global Adress List is searchable (autocompletion works) but is not editable.

This is correct.

> Evolution error:
> Unable to perform search.
> This query did not complete successfully.

Sounds known, let me look in upstream bugzilla.
Comment 3 Milan Crha 2013-01-30 09:05:44 EST
Based on [1], the search in book/gal is fully supported only if the respective book is marked for offline usage (in book properties). It's still true in the 0.28.3 version in RHEL6.

I'm not sure what to do now, if I internally begin to use cache for storing the contacts (effectively ignore the "mark for offline" option and always behave like it's set to 'true'), then it'll not be good for everyone. The version of evolution-mapi in RHEL7, 3.6.x, is better on this, but it's a long way between the two versions.

I'd say either preset "mark for offline" on account creation by default, or make a note about known "bug".

By the way, marking the addressbook as offline also decreases response time, once the book is downloaded locally, because it'll not do any network I/O during the search. Please note that the option change requires restart of evolution-data-server-2.28 process, to let the backend know about the change.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=575940#c3
Comment 4 Milan Crha 2013-05-07 11:12:05 EDT
Created attachment 744783 [details]
evolution-mapi-0.28.3-books-for-offline.patch

for evolution-mapi;

Let's set newly recognized address books for offline synchronization.
I realized that GAL has it set too, thus it's not much of a change.
The first search can "fail", due to waiting for initial synchronization,
but once the book is downloaded it all works.
Comment 8 Milan Crha 2013-06-07 09:19:06 EDT
Note it only works for newly recognized books, or when a user disables his/her MAPI account and enables it again (preferably with closed evolution before enable).
Comment 12 errata-xmlrpc 2013-11-20 23:59:56 EST
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.

http://rhn.redhat.com/errata/RHSA-2013-1540.html

Note You need to log in before you can comment on or make changes to this bug.