Closed Bug 554536 Opened 16 years ago Closed 16 years ago

Bug.fields should not be sending the "values" item for fields that cannot have values

Categories

(Bugzilla :: WebService, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: mkanat, Assigned: mkanat)

Details

Attachments

(1 file)

To make it clear that some fields can have values and some can't, instead of sending an empty array for fields that can't have values, we just shouldn't be sending the "values" item.
Flags: blocking3.6+
Attached patch v1Splinter Review
This only sends value_field and values for fields that can actually have them.
Assignee: webservice → mkanat
Status: NEW → ASSIGNED
Attachment #434443 - Flags: review?(dkl)
Attachment #434443 - Flags: review?(dkl) → review+
Comment on attachment 434443 [details] [diff] [review] v1 Looks good and works as expected. r=dkl
Flags: approval?
Flags: approval3.6?
Flags: approval?
Flags: approval3.6?
Flags: approval3.6+
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/WebService/Bug.pm Committed revision 7089. Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/ modified Bugzilla/WebService/Bug.pm Committed revision 7051.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: