Bug: LDAP search shows no result after TB 91 update - for autoconfig
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2021-09-06 07:36:45+00:00
Resolved: 2021-09-14 15:39:39+00:00

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Updated Thunderbird from 78 to 91.0.3


Actual results:

LDAP search does not give any result.
Errors in console (not sure if linked, but triggers every time i make a search) : 

NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue] AddrBookDirectory.jsm:646
    getLocalizedStringValue resource:///modules/AddrBookDirectory.jsm:646
    get dirName resource:///modules/AddrBookDirectory.jsm:155
    getText chrome://messenger/content/addressbook/abTrees.js:34
    getCellText chrome://messenger/content/jsTreeView.js:44
_________________________________________________________
Uncaught 
Exception { name: "NS_ERROR_UNEXPECTED", message: "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]", result: 2147549183, filename: "resource:///modules/AddrBookDirectory.jsm", lineNumber: 646, columnNumber: 0, data: null, stack: "getLocalizedStringValue@resource:///modules/AddrBookDirectory.jsm:646:29\nget dirName@resource:///modules/AddrBookDirectory.jsm:155:28\ngetText@chrome://messenger/content/addressbook/abTrees.js:34:5\ngetCellText@chrome://messenger/content/jsTreeView.js:44:31\n", location: XPCWrappedNative_NoHelper }
​
columnNumber: 0
​
data: null
​
filename: "resource:///modules/AddrBookDirectory.jsm"
​
lineNumber: 646
​
location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​​
QueryInterface: function QueryInterface()
​​
asyncCaller: null
​​
asyncCause: null
​​
caller: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: , name: , … }
​​
columnNumber: 29
​​
filename: "resource:///modules/AddrBookDirectory.jsm"
​​
formattedStack: "getLocalizedStringValue@resource:///modules/AddrBookDirectory.jsm:646:29\nget dirName@resource:///modules/AddrBookDirectory.jsm:155:28\ngetText@chrome://messenger/content/addressbook/abTrees.js:34:5\ngetCellText@chrome://messenger/content/jsTreeView.js:44:31\n"
​​
lineNumber: 646
​​
name: "getLocalizedStringValue"
​​
nativeSavedFrame: SavedFrame { source: "resource:///modules/AddrBookDirectory.jsm", sourceId: 53, line: 646, … }
​​
sourceId: 53
​​
sourceLine: ""
​​
toString: function toString()
​​
<get asyncCaller()>: function asyncCaller()
​​
<get asyncCause()>: function asyncCause()
​​
<get caller()>: function caller()
​​
<get columnNumber()>: function columnNumber()
​​
<get filename()>: function filename()
​​
<get formattedStack()>: function formattedStack()
​​
<get lineNumber()>: function lineNumber()
​​
<get name()>: function name()
​​
<get nativeSavedFrame()>: function nativeSavedFrame()
​​
<get sourceId()>: function sourceId()
​​
<get sourceLine()>: function sourceLine()
​​
<prototype>: Object { … }
​
message: "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getComplexValue]"
​
name: "NS_ERROR_UNEXPECTED"
​
result: 2147549183
​
stack: "getLocalizedStringValue@resource:///modules/AddrBookDirectory.jsm:646:29\nget dirName@resource:///modules/AddrBookDirectory.jsm:155:28\ngetText@chrome://messenger/content/addressbook/abTrees.js:34:5\ngetCellText@chrome://messenger/content/jsTreeView.js:44:31\n"
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
​​
columnNumber: 
​​
data: 
​​
filename: 
​​
lineNumber: 
​​
location: 
​​
message: 
​​
name: 
​​
result: 
​​
stack: 
​​
toString: function toString()
​​
Symbol(Symbol.toStringTag): "Exception"
​​
<get columnNumber()>: function columnNumber()
​​
<get data()>: function data()
​​
<get filename()>: function filename()
​​
<get lineNumber()>: function lineNumber()
​​
<get location()>: function location()
​​
<get message()>: function message()
​​
<get name()>: function name()
​​
<get result()>: function result()
​​
<get stack()>: function stack()
​​
<set stack()>: function stack()
​​
<prototype>: Object { … }
AddrBookDirectory.jsm:646
    getLocalizedStringValue resource:///modules/AddrBookDirectory.jsm:646
    get dirName resource:///modules/AddrBookDirectory.jsm:155
    getText chrome://messenger/content/addressbook/abTrees.js:34
    getCellText chrome://messenger/content/jsTreeView.js:44




Expected results:

Show results.
Rolling back to old ldap system by setting mailnews.ldap.jsmodule to false makes it work again.