diff options
author | Simon Green <sgreen@redhat.com> | 2014-05-22 01:17:46 +0200 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-05-22 01:17:46 +0200 |
commit | 9bd3f08dce23acc052819d97d1f082666c354b20 (patch) | |
tree | 6fee7c37bb9bff84a681593eff2e565e7bdb5f3e /Bugzilla/WebService/Constants.pm | |
parent | abf6ec5cff89b9507aa978d5345559239886c014 (diff) | |
download | bugzilla-9bd3f08dce23acc052819d97d1f082666c354b20.tar.gz bugzilla-9bd3f08dce23acc052819d97d1f082666c354b20.tar.xz |
Bug 1008764: Add a web service to create and update Flag types
r=glob, a=justdave
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index e18e2b8ec..5164ec0c1 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -81,8 +81,9 @@ use constant WS_ERROR_CODE => { illegal_field => 104, freetext_too_long => 104, # Component errors - require_component => 105, - component_name_too_long => 105, + require_component => 105, + component_name_too_long => 105, + product_unknown_component => 105, # Invalid Product no_products => 106, entry_access_denied => 106, @@ -191,6 +192,13 @@ use constant WS_ERROR_CODE => { # Search errors are 1000-1100 buglist_parameters_required => 1000, + # Flag type errors are 1100-1200 + flag_type_name_invalid => 1101, + flag_type_description_invalid => 1102, + flag_type_cc_list_invalid => 1103, + flag_type_sortkey_invalid => 1104, + flag_type_not_editable => 1105, + # Errors thrown by the WebService itself. The ones that are negative # conform to http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php xmlrpc_invalid_value => -32600, @@ -269,6 +277,7 @@ sub WS_DISPATCH { 'Bugzilla' => 'Bugzilla::WebService::Bugzilla', 'Bug' => 'Bugzilla::WebService::Bug', 'Classification' => 'Bugzilla::WebService::Classification', + 'FlagType' => 'Bugzilla::WebService::FlagType', 'Group' => 'Bugzilla::WebService::Group', 'Product' => 'Bugzilla::WebService::Product', 'User' => 'Bugzilla::WebService::User', |