[Bug 161949] Re: LDAP address book lookup does not work for autocomplete

Kirk Bridger kbridger at shaw.ca
Sun Nov 11 18:36:51 UTC 2007


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
2 - Open error console
3 - Open address book
4 - open about:config, search for 'attrmap'
5 - modify the setting ldap_2.servers.default.attrmap.HomeState from the default to a non-default value (for example from 'mozillaHomeState' to 'mozillaHomeState,st')
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: [nsIAbLDAPAttributeMapService::getMapForPrefBranch]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/addressbook/abCommon.js :: SetAbView :: line 665"  data: no]
Source File: chrome://messenger/content/addressbook/abCommon.js
Line: 665

Line 665 reads:
    actualSortColumn = gAbView.init(uri, searchView, GetAbViewListener(), sortColumn, sortDirection);

-- 
LDAP address book lookup does not work for autocomplete
https://bugs.launchpad.net/bugs/161949
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for thunderbird in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list