LDAP address book lookup does not work for autocomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thunderbird (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: thunderbird
I have set up an LDAP directory on a remote server. In Feisty I set up Thunderbird to query this address book during mail composition for address completion. When beginning to type an address, the query would work and the matching addresses would be selectable. After upgrading to Gutsy, this LDAP address query doesn't work when auto-completing an email address. I am able to launch the Address Book and query the LDAP directory just fine. However the auto-complete function during composition does not work.
ProblemType: Bug
Architecture: amd64
Date: Sat Nov 10 16:12:55 2007
DistroRelease: Ubuntu 7.10
NonfreeKernelMo
Package: mozilla-thunderbird 2.0.0.8~
PackageArchitec
SourcePackage: thunderbird
Uname: Linux Industrious 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux
I've done a little exploring of this issue using the error console. This actually has to do with my efforts to get TB working with my LDAP directory for the address book. I've discovered a way of reproducing the error:
Normal (working) flow:
1 - Open about:config, search for 'attrmap'
2 - Ensure that all settings are default
3 - Close TB
4 - Launch TB
5 - Open error console
6 - Open address book
7 - search for string 'br' in LDAP directory
8 - results populate normally
Now if I add a little change to the above, this reproducibly fails:
1 - Launch TB servers. default. attrmap. HomeState from the default to a non-default value (for example from 'mozillaHomeState' to 'mozillaHomeSta te,st')
2 - Open error console
3 - Open address book
4 - open about:config, search for 'attrmap'
5 - modify the setting ldap_2.
6 - close about:config
7 - search for a string in the address book, such as 'br'
8 - the error console displays the following error, and no results are returned:
Error: [Exception... "'Failure' when calling method: [nsIAbLDAPAttri buteMapService: :getMapForPrefB ranch]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome: //messenger/ content/ addressbook/ abCommon. js :: SetAbView :: line 665" data: no] //messenger/ content/ addressbook/ abCommon. js
Source File: chrome:
Line: 665
Line 665 reads: olumn = gAbView.init(uri, searchView, GetAbViewListen er(), sortColumn, sortDirection);
actualSortC