From: dkl%redhat.com <> Date: Thu, 19 Jun 2008 20:50:54 +0000 (+0000) Subject: Bug 434620 – invalid_field_name and product_edit_denied have the same error ID X-Git-Tag: bugzilla-3.2rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d704b638612611a156dcfb4cc7367f0ad9659f6;p=thirdparty%2Fbugzilla.git Bug 434620 – invalid_field_name and product_edit_denied have the same error ID Patch by David Lawrence r/a=mkanat --- diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 42ad43120c..98597a98ec 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,