summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-06-19 22:49:58 +0200
committerdkl%redhat.com <>2008-06-19 22:49:58 +0200
commitf575fab32dc8679c3fa69bf38b7017049285b42c (patch)
treee45955d81927bb170b5efc50563c9d97069c1f23
parent467e7a755265bf997099f00c8ec5773eb26819ff (diff)
downloadbugzilla-f575fab32dc8679c3fa69bf38b7017049285b42c.tar.gz
bugzilla-f575fab32dc8679c3fa69bf38b7017049285b42c.tar.xz
Bug 434620 – invalid_field_name and product_edit_denied have the same error ID
Patch by David Lawrence <dkl@redhat.com> r/a=mkanat
-rwxr-xr-xBugzilla/WebService/Constants.pm5
1 files changed, 3 insertions, 2 deletions
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,