diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-10 16:27:18 -0800 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-02-10 16:27:18 -0800 |
commit | cee67bdc0eff06b16f5d374be9cc6ca8961e11c4 (patch) | |
tree | f53a0654a53fa624d5e1055bb3f0a72d6782e828 /Bugzilla/WebService | |
parent | 04a0f6e7a3d58e7ea0cdcff0b547c70e46fa58fe (diff) | |
download | bugs-cee67bdc0eff06b16f5d374be9cc6ca8961e11c4.tar bugs-cee67bdc0eff06b16f5d374be9cc6ca8961e11c4.tar.gz bugs-cee67bdc0eff06b16f5d374be9cc6ca8961e11c4.tar.bz2 bugs-cee67bdc0eff06b16f5d374be9cc6ca8961e11c4.tar.xz bugs-cee67bdc0eff06b16f5d374be9cc6ca8961e11c4.zip |
Bug 633041: Add an error code for zero_length_file and fill in content_type
for patches when content_type is missing in Bug.add_attachment in the
WebService
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 4 | ||||
-rw-r--r-- | Bugzilla/WebService/Constants.pm | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 822730e4a..189c984c3 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2446,6 +2446,10 @@ You did not specify a valid for the C<file_name> argument. You did not specify a value for the C<summary> argument. +=item 606 (Empty Data) + +You set the "data" field to an empty string. + =back =item B<History> diff --git a/Bugzilla/WebService/Constants.pm b/Bugzilla/WebService/Constants.pm index e2c0a0f52..0adb190ec 100644 --- a/Bugzilla/WebService/Constants.pm +++ b/Bugzilla/WebService/Constants.pm @@ -148,6 +148,7 @@ use constant WS_ERROR_CODE => { file_not_specified => 603, missing_attachment_description => 604, # Error 605 attachment_url_disabled no longer exists. + zero_length_file => 606, # Errors thrown by the WebService itself. The ones that are negative # conform to http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php |