Closed Bug 473715 Opened 11 years ago Closed 11 years ago
LDAP fails to initialise in compose window
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/525.19 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090114 Shredder/3.0b2pre When composing mail (subsequent to nightly update to 20090113) Shredder cannot access the LDAP server for address book records. When I start to compose mail, the following message appears under the To: field: <LDAP initialization problem> Clicking on it reveals the following error: Error code 0xc1f30001: Unknown error Please contact your System Administrator. Reproducible: Always Steps to Reproduce: 1. Upgrade to Shredder nightly after 20090113 2. Use an LDAP Address Book 3. Start to type the To: address for an email. Actual Results: <LDAP initialization failed> appears below the address box Expected Results: Search results for the part-entered address shows. Only started since 20090113 update.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 473594
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Assignee: nobody → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Thunderbird 3.0b2
Product: Thunderbird → MailNews Core
QA Contact: address-book → addressbook
Version: unspecified → Trunk
The problem is that with the changes I did in bug 419595 we need to call init() on the nsILDAPURL. Given that we already have the full url, the simplest fix is to get the nsILDAPURL via the io service and we'll know everything is correct.
Fixes SM LDAP autocomplete properly.
Comment on attachment 358163 [details] [diff] [review] The fix v2 >+ let url = >+ sPrefs.getComplexValue(autocompleteDirectory +".uri", >+ Components.interfaces.nsISupportsString) >+ .data; I know you want to wrap to 80 chars but 4 lines is a bit excessive... I'd use var url = sPrefs.getComplexValue(autocompleteDirectory + ".uri", Components.interfaces.nsISupportsString).data;
Attachment #358163 - Flags: superreview?(neil) → superreview+
Patch checked in: http://hg.mozilla.org/comm-central/rev/1df064913853 Fix will be in tomorrow's nightlies.
Status: NEW → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Whiteboard: [patch in progress]
You need to log in before you can comment on or make changes to this bug.