From: Koosha Khajeh Moogahi Date: Fri, 3 Aug 2012 16:41:45 +0000 (-0400) Subject: Bug 682317 - Bug.create is incorrectly documented as ignoring invalid fields; it... X-Git-Tag: bugzilla-4.2.3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94abbb03a8db4179bdd7fe5edccb077e8908d114;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 781e8b944e..5d5f49b264 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2198,8 +2198,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.