зеркало из https://github.com/mozilla/pjs.git
Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com
This commit is contained in:
Родитель
a2df3df63b
Коммит
a4c593f8c4
|
@ -870,6 +870,14 @@ nsLDAPAutoCompleteSession::StartLDAPSearch()
|
|||
BOUND);
|
||||
return NS_OK;
|
||||
|
||||
case NS_ERROR_LDAP_FILTER_ERROR:
|
||||
PR_LOG(sLDAPAutoCompleteLogModule, PR_LOG_DEBUG,
|
||||
("nsLDAPAutoCompleteSession::StartLDAPSearch(): SearchExt "
|
||||
"returned NS_ERROR_LDAP_FILTER_ERROR"));
|
||||
FinishAutoCompleteLookup(nsIAutoCompleteStatus::failureItems, rv,
|
||||
BOUND);
|
||||
return NS_OK;
|
||||
|
||||
case NS_ERROR_LDAP_SERVER_DOWN:
|
||||
// XXXdmose discuss with leif how to handle this in general in the
|
||||
// LDAP XPCOM SDK.
|
||||
|
@ -895,7 +903,7 @@ nsLDAPAutoCompleteSession::StartLDAPSearch()
|
|||
//
|
||||
NS_ERROR("nsLDAPAutoCompleteSession::StartLDAPSearch(): SearchExt "
|
||||
"returned unexpected value");
|
||||
FinishAutoCompleteLookup(nsIAutoCompleteStatus::failureItems, 0,
|
||||
FinishAutoCompleteLookup(nsIAutoCompleteStatus::failureItems, rv,
|
||||
BOUND);
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче