summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Constants.pm
diff options
context:
space:
mode:
authorJulien Heyman <jheyman@portaildulibre.fr>2011-04-07 20:27:53 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-04-07 20:27:53 +0200
commit13c42365aad84a6a6b1a464c791433220a2d8fc1 (patch)
treef6379904248a293c8c655b5a9a15f6068b22b707 /Bugzilla/WebService/Constants.pm
parentc949aab1aec88506a87f3eedc78308b1ad7f0c89 (diff)
downloadbugzilla-13c42365aad84a6a6b1a464c791433220a2d8fc1.tar.gz
bugzilla-13c42365aad84a6a6b1a464c791433220a2d8fc1.tar.xz
Bug 469193: WebService function to create new products (Product.create)
r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r--Bugzilla/WebService/Constants.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm
index 0adb190ec..f2c007965 100644
--- a/Bugzilla/WebService/Constants.pm
+++ b/Bugzilla/WebService/Constants.pm
@@ -150,6 +150,15 @@ use constant WS_ERROR_CODE => {
# Error 605 attachment_url_disabled no longer exists.
zero_length_file => 606,
+ # Product erros are 700-800
+ product_blank_name => 700,
+ product_name_too_long => 701,
+ product_name_already_in_use => 702,
+ product_name_diff_in_case => 702,
+ product_must_have_description => 703,
+ product_must_have_version => 704,
+ product_must_define_defaultmilestone => 705,
+
# 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,