summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Bug.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-12 08:32:51 +0100
committerlpsolit%gmail.com <>2008-02-12 08:32:51 +0100
commit30c7fa92ac2d0c76443fcc47907487a9ff0186b2 (patch)
tree30743e0fee6f292ae812ed373d1078aedbe5fb29 /Bugzilla/WebService/Bug.pm
parentd26783131dda06d57fb12342eb8d4df0bbfe774f (diff)
downloadbugzilla-30c7fa92ac2d0c76443fcc47907487a9ff0186b2.tar.gz
bugzilla-30c7fa92ac2d0c76443fcc47907487a9ff0186b2.tar.xz
Bug 384009: Global fields (priority, severity, OS, and platform) are required when using WebService instead of using the defaults - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/WebService/Bug.pm')
-rwxr-xr-xBugzilla/WebService/Bug.pm14
1 files changed, 9 insertions, 5 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index 01d5c16eb..44180cc14 100755
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -123,11 +123,6 @@ sub create {
$field_values{$field_name} = $params->{$field};
}
- # Make sure all the required fields are in the hash.
- foreach my $field (Bugzilla::Bug::REQUIRED_CREATE_FIELDS) {
- $field_values{$field} = undef unless exists $field_values{$field};
- }
-
# WebService users can't set the creation date of a bug.
delete $field_values{'creation_ts'};
@@ -504,6 +499,15 @@ in them. The error message will have more details.
=back
+=item B<History>
+
+=over
+
+=item Before B<3.0.4>, parameters marked as B<Defaulted> were actually
+B<Required>, due to a bug in Bugzilla.
+
+=back
+
=back
=item C<add_comment> B<EXPERIMENTAL>