summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-05-04 00:23:50 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-05-04 00:23:50 +0200
commit928154771796d8045f2a9fdf712a1305d6d63055 (patch)
treeff942d7c3c3002a8d4a1c284177d909a9624fe2e /Bugzilla/WebService/Constants.pm
parent23a53530d7432b6689efdcb4cc79ecc304b082e0 (diff)
downloadbugzilla-928154771796d8045f2a9fdf712a1305d6d63055.tar.gz
bugzilla-928154771796d8045f2a9fdf712a1305d6d63055.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 6274c3a78..3207356fa 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -168,6 +168,9 @@ use constant WS_ERROR_CODE => {
invalid_regexp => 803,
invalid_group_name => 804,
+ # 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,