6.0.0-RC7
6/18/26

[#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 8/21/11 (5415 days ago)
Due
Updated 11/17/11 (5327 days ago)
Assigned 8/22/11 (5414 days ago)
Resolved 11/14/11 (5330 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
216 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.
443 Michael Slusarz Comment #8
State ⇒ Not A Bug
Reply to this comment
Addressbooks are not correctly configured in IMP then.
205 par (dot) aronsson (at) telia (dot) com Comment #7 Reply to this comment
Exactly the same behaviour.
398 Michael Slusarz Comment #6 Reply to this comment
Does autocompletion work when searching by something other than 
non-ASCII characters (e.g. aron)?
354 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>"]*/
328 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.
387 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.
244 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
226 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