Closed Bug 340309 Opened 18 years ago Closed 18 years ago

process_bug.cgi fails when changing several bugs at once if all bugs are in the same product

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.23
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

This is a regression due to bug 337054:

if (scalar(@newprod_ids) == 1) {
    $product = Bugzilla::Product::check_product($newprod_ids[0]);
}

check_product() requires a product name, but @newprod_ids contains product IDs.
Attached patch patch, v1Splinter Review
Attachment #224352 - Flags: review?(mkanat)
Comment on attachment 224352 [details] [diff] [review]
patch, v1

Ah, and we don't need to check it because we already got that ID out of the database? That makes sense.
Attachment #224352 - Flags: review?(mkanat) → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval? → approval+
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v  <--  process_bug.cgi
new revision: 1.322; previous revision: 1.321
done
Status: ASSIGNED → RESOLVED
Closed: 18 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: