For most of the built-in select fields, the "visibility_values" in the "values" items returned by Bug.fields contain a single undef (which doesn't make much sense). This wasn't apparent in the XML-RPC interface, since it strips nulls, but it's apparent in JSON-RPC. However, for bug_status, there's no visibility_values item at all. We should be consistent--either the item shouldn't appear at all for these fields, or it should appear for all of them and be empty.
Created attachment 434456 [details] [diff] [review] v1 This makes us return an empty visibility_value array consistently for all these fields.
Comment on attachment 434456 [details] [diff] [review] v1 Looks good and works as described. r=dkl
I had to fix some minor bitrot on checkin (because of another patch that I just checked in--I actually expected the bitrot, and it was totally minor). Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/WebService/Bug.pm Committed revision 7090. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/ modified Bugzilla/WebService/Bug.pm Committed revision 7052.