From: Koosha Khajeh Moogahi Date: Fri, 3 Aug 2012 16:45:20 +0000 (-0400) Subject: Bug 682317 - Bug.create is incorrectly documented as ignoring invalid fields; it... X-Git-Tag: bugzilla-4.0.8~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f9fea9dc8d027cff1319d8c4bf006e90c36db0;p=thirdparty%2Fbugzilla.git Bug 682317 - Bug.create is incorrectly documented as ignoring invalid fields; it should say it produces an error r=dkl, a=LpSolit --- diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index b60ed68994..0f336fb6f3 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2197,8 +2197,9 @@ B =item B This allows you to create a new bug in Bugzilla. If you specify any -invalid fields, they will be ignored. If you specify any fields you -are not allowed to set, they will just be set to their defaults or ignored. +invalid fields, an error will be thrown stating which field is invalid. +If you specify any fields you are not allowed to set, they will just be +set to their defaults or ignored. You cannot currently set all the items here that you can set on enter_bug.cgi.