summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-05-04 00:20:52 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-05-04 00:20:52 +0200
commitac33bc1f6e9de89e1c4da15ed084ca3af19157ff (patch)
treeec0b41280978c80f21837dfa59e700164e2c8c97 /Bugzilla/WebService/Constants.pm
parent7b3455675a2dae3922cfbe46db03772232f95897 (diff)
downloadbugzilla-ac33bc1f6e9de89e1c4da15ed084ca3af19157ff.tar.gz
bugzilla-ac33bc1f6e9de89e1c4da15ed084ca3af19157ff.tar.xz
Bug 859118 - Bug.search called with no arguments returns all visible bugs, ignoring max_search_results and search_allow_no_criteria
r/a=LpSolit
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r--Bugzilla/WebService/Constants.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index 624ab6e09..b1503772e 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -163,6 +163,9 @@ use constant WS_ERROR_CODE => {
# Classification errors are 900-1000
auth_classification_not_enabled => 900,
+ # Search errors are 1000-1100
+ buglist_parameters_required => 1000,
+
# Errors thrown by the WebService itself. The ones that are negative
# conform to http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php
xmlrpc_invalid_value => -32600,