diff options
author | Carole Pryfer <carole.pryfer@dgfip.finances.gouv.fr> | 2011-04-17 03:16:37 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-04-17 03:16:37 +0200 |
commit | 52f6e88a37ab39c0f3f639c3cb24dde740f47584 (patch) | |
tree | bd68a7dc4af2ce14879c93dc7f7acc8ea5c8347d /Bugzilla/WebService/Constants.pm | |
parent | 3f31206cab97b5c2cbfd038248b56d0bb78bbbf0 (diff) | |
download | bugzilla-52f6e88a37ab39c0f3f639c3cb24dde740f47584.tar.gz bugzilla-52f6e88a37ab39c0f3f639c3cb24dde740f47584.tar.xz |
Bug 469195: New WebService function, Group.create.
r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index f2c007965..a1063864f 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -108,7 +108,7 @@ use constant WS_ERROR_CODE => { # Dup errors dupe_loop_detected => 118, dupe_id_required => 119, - # Group errors + # Bug-related group errors group_change_denied => 120, group_invalid_restriction => 120, # Status/Resolution errors @@ -159,6 +159,12 @@ use constant WS_ERROR_CODE => { product_must_have_version => 704, product_must_define_defaultmilestone => 705, + # Group errors are 800-900 + empty_group_name => 800, + group_exists => 801, + empty_group_description => 802, + invalid_regexp => 803, + # 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, @@ -184,6 +190,7 @@ sub WS_DISPATCH { 'Bug' => 'Bugzilla::WebService::Bug', 'User' => 'Bugzilla::WebService::User', 'Product' => 'Bugzilla::WebService::Product', + 'Group' => 'Bugzilla::WebService::Group', %hook_dispatch }; return $dispatch; |