diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-13 15:43:40 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-13 15:43:40 -0700 |
commit | 12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3 (patch) | |
tree | e4c668cbd0942de49a14d84a1f06ea13a94b3061 /Bugzilla/WebService/Constants.pm | |
parent | e0ee27cff75e9803d026e817439d55221992c493 (diff) | |
download | bugs-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar bugs-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar.gz bugs-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar.bz2 bugs-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar.xz bugs-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.zip |
Bug 412074: Ability to add attachments to a bug via the WebService
(Bug.add_attachment)
r=timello, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Constants.pm')
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index 18d152d3f..8a41db951 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -121,6 +121,16 @@ use constant WS_ERROR_CODE => { user_access_by_id_denied => 505, user_access_by_match_denied => 505, + # Attachment errors are 600-700. + patch_too_large => 600, + local_file_too_large => 600, + file_too_large => 600, + invalid_content_type => 601, + attachment_illegal_url => 602, + file_not_specified => 603, + missing_attachment_description => 604, + attachment_url_disabled => 605, + # 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, |