From f575fab32dc8679c3fa69bf38b7017049285b42c Mon Sep 17 00:00:00 2001 From: "dkl%redhat.com" <> Date: Thu, 19 Jun 2008 20:49:58 +0000 Subject: Bug 434620 – invalid_field_name and product_edit_denied have the same error ID Patch by David Lawrence r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/WebService/Constants.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 09919873c..ed70890da 100755 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -57,7 +57,6 @@ use constant WS_ERROR_CODE => { bug_id_does_not_exist => 101, bug_access_denied => 102, bug_access_query => 102, - invalid_field_name => 108, # These all mean "invalid alias" alias_too_long => 103, alias_in_use => 103, @@ -76,8 +75,10 @@ use constant WS_ERROR_CODE => { product_disabled => 106, # Invalid Summary require_summary => 107, + # Invalid field name + invalid_field_name => 108, # Not authorized to edit the bug - product_edit_denied => 108, + product_edit_denied => 109, # Authentication errors are usually 300-400. invalid_username_or_password => 300, -- cgit v1.2.3-24-g4f1b