6.0.0-beta1
7/6/25

[#10446] No address autocompletion with ldap backend
Summary No address autocompletion with ldap backend
Queue IMP
Queue Version 5.0.10
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester par.aronsson (at) telia (dot) com
Created 08/21/2011 (5068 days ago)
Due
Updated 11/17/2011 (4980 days ago)
Assigned 08/22/2011 (5067 days ago)
Resolved 11/14/2011 (4983 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/17/2011 06:05:21 PM par (dot) aronsson (at) telia (dot) com Comment #9
New Attachment: backends.php.patch Download
Reply to this comment
You're correct. My conf was bad.

The attached patch to backends.php may help others avoid this in the future.
11/14/2011 03:35:44 AM Michael Slusarz Comment #8
State ⇒ Not A Bug
Reply to this comment
Addressbooks are not correctly configured in IMP then.
08/31/2011 05:32:20 PM par (dot) aronsson (at) telia (dot) com Comment #7 Reply to this comment
Exactly the same behaviour.
08/30/2011 08:27:39 PM Michael Slusarz Comment #6 Reply to this comment
Does autocompletion work when searching by something other than 
non-ASCII characters (e.g. aron)?
08/28/2011 04:33:35 PM par (dot) aronsson (at) telia (dot) com Comment #5 Reply to this comment
In IMP nothing happens when par has been typed in the To box.

When typing par in the attendee box in Kronolith a post is sent. 
Accordning to Firebug the following data is transmitted.

Location with params:
https://myserver/services/imple.php?imple=ContactAutoCompleter%2FimpleApp%3Dkronolith/input=kronolithEventAttendeesreal&kronolithEventAttendeesreal=par

Request headers:
Host: myserver
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; sv-SE; rv:1.9.2.20) 
Gecko/20110816 Red Hat/3.6.20-2.el6_1 Firefox/3.6.20
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: sv,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.7
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://myserver/kronolith/
Content-Length: 31
Cookie: default_horde_view=auto; auth_key=kjsdf789asdhasd; 
imp_key=lasd7f9p8sdfsd; Horde=lkja7s9jhsdjsdfsdvas7; 
horde_menu_expanded=exporganizing
Pragma: no-cache
Cache-Control: no-cache

Response headers:
Date: Sun, 28 Aug 2011 16:27:42 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 110
Connection: close
Content-Type: application/json

Response body:
/*-secure-["\"P\u00e4r Aronsson\" <par.aronsson@telia.com>"]*/
08/26/2011 08:30:32 AM Jan Schneider Comment #4 Reply to this comment
This is nothing specific to your system.

What I meant with using Firebug, is to trace the data sent and 
recieved in the ajax request for the autocompletion. This can watched 
in Firebug's "Network" tab.
08/23/2011 07:20:38 PM par (dot) aronsson (at) telia (dot) com Comment #3 Reply to this comment
I'm in way over my head here, but this is what I've found using Firebug.

In IMP the To box has this code:
<td class="sendtextarea">
<textarea id="to" cols="75" rows="1" name="to" autocomplete="off"></textarea>
<span id="to_loading_img" class="loadingImg" style="display: none;"></span>
</td>
In Kronolith it's this:
<div id="kronolithAttendeesACBox" class="hordeACBox 
kronolithLongField" style="position: relative;">
<ul class="hordeACList">
<li id="kronolithAttendeesACTriggerContainer" class="hordeACListMember">
<input id="kronolithEventAttendeesreal" class="hordeACTrigger" 
name="kronolithEventAttendeesreal" autocomplete="off" style="width: 
100px;">
</li>
</ul>
<span style="float: left; display: inline-block; position: absolute; 
left: -1000px;"></span>
<input id="kronolithEventAttendees" name="attendees" style="display: none;">
</div>

In the case of Kronolith js/prettyautocomplete.js is used. Not in IMP.
08/22/2011 04:07:24 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please compare the ajax communication between the browser and the 
server in IMP vs. Kronolith.

For further debugging information, please read 
http://www.horde.org/apps/horde/docs/INSTALL#dynamic-view-troubleshooting
08/21/2011 06:58:22 PM par (dot) aronsson (at) telia (dot) com Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ IMP
Summary ⇒ No address autocompletion with ldap backend
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Address autocompletion, in imp, with ldap backend does not work. When 
clicking To: the list is empty until a search is perfomed.

Address autocompletion work as expected in Kronolith.

Saved Queries