From f575fab32dc8679c3fa69bf38b7017049285b42c Mon Sep 17 00:00:00 2001 From: "dkl%redhat.com" <> Date: Thu, 19 Jun 2008 20:49:58 +0000 Subject: =?UTF-8?q?Bug=20434620=20=C3=A2=C2=80=C2=93=20invalid=5Ffield=5Fn?= =?UTF-8?q?ame=20and=20product=5Fedit=5Fdenied=20have=20the=20same=20error?= =?UTF-8?q?=20ID=20Patch=20by=20David=20Lawrence=20=20r/a?= =?UTF-8?q?=3Dmkanat?= 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/WebService/Constants.pm') 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.1