summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorSimon Green <simon@simongreen.net>2014-12-06 22:48:33 +0100
committerSimon Green <sgreen@redhat.com>2014-12-06 22:48:33 +0100
commit5db53c9ecf6270bd8ea6092c0893e96703f6ad61 (patch)
tree4e8330e4cf7f496721a137409c0a9af499ec90b8 /Bugzilla/WebService/Constants.pm
parent9d1dc1f24d6a43339ed00e8899cf579d2739401b (diff)
downloadbugzilla-5db53c9ecf6270bd8ea6092c0893e96703f6ad61.tar.gz
bugzilla-5db53c9ecf6270bd8ea6092c0893e96703f6ad61.tar.xz
Bug 1052202 - Web Service module to update and delete components
r=dylan, a=glob
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r--Bugzilla/WebService/Constants.pm11
1 files changed, 8 insertions, 3 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index cfd934c4e..cf2666551 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -184,6 +184,7 @@ use constant WS_ERROR_CODE => {
product_must_have_description => 703,
product_must_have_version => 704,
product_must_define_defaultmilestone => 705,
+ product_admin_denied => 706,
# Group errors are 800-900
empty_group_name => 800,
@@ -207,9 +208,13 @@ use constant WS_ERROR_CODE => {
flag_type_not_editable => 1105,
# Component errors are 1200-1300
- component_already_exists => 1200,
- component_is_last => 1201,
- component_has_bugs => 1202,
+ component_already_exists => 1200,
+ component_is_last => 1201,
+ component_has_bugs => 1202,
+ component_blank_name => 1210,
+ component_blank_description => 1211,
+ multiple_components_update_not_allowed => 1212,
+ component_need_initialowner => 1213,
# Errors thrown by the WebService itself. The ones that are negative
# conform to http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php