diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-28 23:22:12 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-28 23:22:12 +0200 |
commit | b0edd0ea304eb0b8a31972f4d556ccc4fe644003 (patch) | |
tree | 6ed8e922be9e89c0c80162eb81be0d79767665be /Bugzilla/WebService/Bug.pm | |
parent | b32a0b4336a3182df4896ca207f3f30c264b0061 (diff) | |
download | bugzilla-b0edd0ea304eb0b8a31972f4d556ccc4fe644003.tar.gz bugzilla-b0edd0ea304eb0b8a31972f4d556ccc4fe644003.tar.xz |
Bug 553913: Add explicit error codes to WebService errors that were missing
them
r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Bug.pm')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index ff8051700..d81bc2792 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -1923,6 +1923,11 @@ A hash with one element, C<id> whose value is the id of the newly-created commen =over +=item 54 (Hours Worked Too Large) + +You specified a C<work_time> larger than the maximum allowed value of +C<99999.99>. + =item 100 (Invalid Bug Alias) If you specified an alias and either: (a) the Bugzilla you're querying @@ -1940,6 +1945,11 @@ You did not have the necessary rights to edit the bug. You tried to add a private comment, but don't have the necessary rights. +=item 114 (Comment Too Long) + +You tried to add a comment longer than the maximum allowed length +(65,535 characters). + =back =item B<History> @@ -1957,6 +1967,9 @@ but can't, in Bugzilla B<3.4>. C<private>, and you can still call it C<private> for backwards-compatibility purposes if you wish. +=item Before Bugzilla B<3.6>, error 54 and error 114 had a generic error +code of 32000. + =back =back @@ -2055,6 +2068,11 @@ You did not have the necessary rights to edit the bug. One of the URLs you provided did not look like a valid bug URL. +=item 115 (See Also Edit Denied) + +You did not have the necessary rights to edit the See Also field for +this bug. + =back =item B<History> @@ -2063,6 +2081,8 @@ One of the URLs you provided did not look like a valid bug URL. =item Added in Bugzilla B<3.4>. +=item Before Bugzilla B<3.6>, error 115 had a generic error code of 32000. + =back =back |