global address book not being searched in horde compose email

Gavin McCullagh gavin.mccullagh at gcd.ie
Thu Feb 11 15:03:26 CET 2010


Hi,

On Tue, 09 Feb 2010, Gavin McCullagh wrote:

> When I login to Horde and try to compose a mail, the global addressbook
> searching doesn't work.  This is a nice piece of sugar to save people time
> over our old system so I really want it to work.  I note that it appeared
> not to be configured by default¹ but changing this setting made no
> difference.

I've tracked this down to
/kolab/var/kolab/www/client/imp/lib/Imple/ContactAutoCompleter.php : 54

    function handle($args)
    {   
        // Avoid errors if 'input' isn't set and short-circuit empty
        // searches.
        if (empty($args['input']) ||
            !($input = Util::getPost($args['input']))) {
            return '<ul></ul>';
        }

For whatever reason Util::getPost($args['input'])) returns an empty string
with $args['input']='to' so an empty list is returned and we get no
autocompletion.  I'm not clear yet why that POST variable is empty though.
If anyone has suggestions please let me know.

Thanks,
Gavin




More information about the users mailing list