Closed Bug 1026862 Opened 10 years ago Closed 10 years ago

updating a bug via an api or bulk bug update clears the mentor field

Categories

(bugzilla.mozilla.org :: General, defect)

Production
x86
macOS
defect
Not set
blocker

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

updating a bug via an api or bulk bug update clears the mentor field, because it assumes that input_params->{$field} is always set (which is only the case for show_bug updates).

this is the reason why the first run of the migration script failed.
Attached patch 1026862_1.patchSplinter Review
Attachment #8441831 - Flags: review?(dkl)
Comment on attachment 8441831 [details] [diff] [review]
1026862_1.patch

Review of attachment 8441831 [details] [diff] [review]:
-----------------------------------------------------------------

r=dkl. Thanks for looking/fixing this.
Attachment #8441831 - Flags: review?(dkl) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   c2fef44..324f00d  master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: