global address book not being searched in horde compose email

Gunnar Wrobel wrobel at pardus.de
Fri Feb 12 16:11:15 CET 2010


Quoting Gavin McCullagh <gavin.mccullagh at gcd.ie>:

> 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>';
>         }

If you are digging around in the PHP code than maybe I can ask you to  
install firebug within firefox and rerun your testing? The nice thing  
about firebug is that it clearly shows you what AJAX requests are sent  
out and what they contained. So once you are creating a new mail and  
type the first letter you should start seeing post requests. Does the  
post look okay?

Cheers,

Gunnar

>
> 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
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20100212/bca9af95/attachment.sig>


More information about the users mailing list