[Users] Autocomplete not working after upgrade from 8.6 to 8.7.11

Barry de Graaff info at barrydegraaff.tk
Tue Aug 28 14:59:45 CEST 2018


Thanks Frédéric, 

For that comprehensive response. 

I wonder if the new behavior is a bug or a feature, anyway I do not really like 
the `Emailed Contacts` address list, as that is a huge issue when accounts 
get compromised. 

So I do not think the 8.7 way is progress. 

Kind regards, 

Barry de Graaff 
Zeta Alliance 
Co-founder & Developer 
zetalliance.org | github.com/Zimbra-Community 

+31 617 220 227 | skype: barrydegraaff.tk 
Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0 


From: "Frédéric Nass" <frederic.nass at univ-lorraine.fr> 
To: "Barry de Graaff" <info at barrydegraaff.tk> 
Cc: "users" <users at lists.zetalliance.org> 
Sent: Tuesday, 28 August, 2018 14:56:16 
Subject: Re: [Users] Autocomplete not working after upgrade from 8.6 to 8.7.11 

Hello everyone, 

Since ZCS 8.7, the Autocomplete feature searches for contacts entries in the users contacts folders to suggest emailed contacts addresses. If it does not find the corresponding entry then the previously emailed contact is not suggested anymore. 

The workaround (to stay with ZCS 8.6 behavior) is to create user contacts associated to emailed contacts for every users and have zimbraPrefAutoAddAddressEnabled set to TRUE globally (so that each time a user will write to a new email address, the address will be added to the contacts.). Attached is a script that ZCS support provided in September 2017. I changed it so that it runs faster and handles accentuated characters. 

It takes a zimbra account as unique argument, dumps its emailed contacts from DB, empty its /Emailed Contacts folder and recreate contact entries in the folder. 
The script can be run multiple times with the same account but any information added by a user to an entry will be lost on next run. 
Please have a look at it to understand what it does before you run it. And pay attention to how it deals with accentuated characters for you specific language (it's currently set for french language). 

FWIW, here is a list of fixes to the autocomplete feature in ZCS 8.7: 

Bug 97426 - Autocomplete does not return correct results when zimbraContactAutoCompleteMaxResults is set to a value lesser than actual number of contacts 
Bug 97123 - Auto-complete ranking doesn't include if email address copied/typed (same email address present in address book) 
Bug 97160 - Autocomplete ranking shows duplicate entries 
Bug 97162 - Autocomplete soap request does not return correct ranking 
Bug 90624 - Autocomplete ranking does not display correct name 
Bug 103707 - Email Contacts are not getting added even zimbraPrefAutoAddAddressEnabled set to TRUE 

Regards, 

Frederic. 

----- Le 7 Aoû 18, à 11:39, Barry de Graaff <info at barrydegraaff.tk> a écrit : 


Hello All, 

I have an instance of Zimbra that was upgraded from 8.6 to 8.7.11 FOSS. 

After the upgrade the auto complete no longer works, it only auto completes 
from the GAL not external addresses the user used before. 

In the logfiles I do not see anything particular other than the requests 
are handled OK. 


On the forums the only lead I could find was somebody that said it worked 
again after a couple of days. 

How can I fix/debug this? 


Kind regards, 

Barry de Graaff 
Zeta Alliance 
Co-founder & Developer 
zetalliance.org | github.com/Zimbra-Community 

+31 617 220 227 | skype: barrydegraaff.tk 
Fingerprint: 97f4694a1d9aedad012533db725ddd156d36a2d0 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20180828/ca13aaaa/attachment.html>


More information about the Users mailing list