diff options
author | mkanat%bugzilla.org <> | 2009-01-07 22:22:08 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-07 22:22:08 +0100 |
commit | 559f89582199e4ca531398a5cadd03632526d525 (patch) | |
tree | 152c46e8fae572662b9004a9658f44dcc874f96b /Bugzilla/WebService/Constants.pm | |
parent | 1ef4ee777a69bc857fb1b4ee95e2521904d1a5cc (diff) | |
download | bugzilla-559f89582199e4ca531398a5cadd03632526d525.tar.gz bugzilla-559f89582199e4ca531398a5cadd03632526d525.tar.xz |
Bug 450403: Add ability to view comments via the web service (Bug.comments)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rwxr-xr-x | Bugzilla/WebService/Constants.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 593801a6f..07b51e5f1 100755 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -51,6 +51,7 @@ use constant WS_ERROR_CODE => { # Generic Bugzilla::Object errors are 50-99. object_not_specified => 50, param_required => 50, + params_required => 50, object_does_not_exist => 51, # Bug errors usually occupy the 100-200 range. improper_bug_id_field_value => 100, @@ -79,6 +80,9 @@ use constant WS_ERROR_CODE => { invalid_field_name => 108, # Not authorized to edit the bug product_edit_denied => 109, + # Comment-related errors + comment_is_private => 110, + comment_id_invalid => 111, # Authentication errors are usually 300-400. invalid_username_or_password => 300, |