From: Koosha Khajeh Moogahi Date: Fri, 3 Aug 2012 16:50:41 +0000 (-0400) Subject: Bug 682317 - Bug.create is incorrectly documented as ignoring invalid fields; it... X-Git-Tag: bugzilla-3.6.11~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe4f3325188ffb1cea6911d510ade716b8d96fd;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 2b2361f336..bac2e692ef 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -1755,8 +1755,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.