зеркало из 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);
|
BOUND);
|
||||||
return NS_OK;
|
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:
|
case NS_ERROR_LDAP_SERVER_DOWN:
|
||||||
// XXXdmose discuss with leif how to handle this in general in the
|
// XXXdmose discuss with leif how to handle this in general in the
|
||||||
// LDAP XPCOM SDK.
|
// LDAP XPCOM SDK.
|
||||||
|
@ -895,7 +903,7 @@ nsLDAPAutoCompleteSession::StartLDAPSearch()
|
||||||
//
|
//
|
||||||
NS_ERROR("nsLDAPAutoCompleteSession::StartLDAPSearch(): SearchExt "
|
NS_ERROR("nsLDAPAutoCompleteSession::StartLDAPSearch(): SearchExt "
|
||||||
"returned unexpected value");
|
"returned unexpected value");
|
||||||
FinishAutoCompleteLookup(nsIAutoCompleteStatus::failureItems, 0,
|
FinishAutoCompleteLookup(nsIAutoCompleteStatus::failureItems, rv,
|
||||||
BOUND);
|
BOUND);
|
||||||
return NS_ERROR_UNEXPECTED;
|
return NS_ERROR_UNEXPECTED;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче