Closed Bug 302927 Opened 19 years ago Closed 19 years ago

Incorrect title when changing several bugs at once

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.20
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: LpSolit, Assigned: LpSolit)

Details

Attachments

(1 file)

Let's say bug A is blocking bug B, and bug F is blocking bug G. Now close bug A
and bug F. bug B and bug G will receive an email to inform them that the bug
they depend on is closed, as expected. But the titles are wrong:

Changes submitted for bug A
Checking for dependency changes on bug B
Checking for dependency changes on bug F  <--- wrong!
Checking for dependency changes on bug G

bug F has no relation with bug A, so it shouldn't display "Checking for
dependency", but "Changes submitted". The reason is that $vars->{'type'} is not
updated when processing the next (non dependent) bug, and the last defined type
was "dep" which is then kept for the next bug.

It's straightforward to fix.
Attached patch trivial patchSplinter Review
Attachment #191190 - Flags: review?(wicked)
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Attachment #191190 - Flags: review?(wicked) → review+
Flags: approval?
Flags: approval2.20?
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip:

Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v  <--  process_bug.cgi
new revision: 1.270; previous revision: 1.269
done


2.20rc1:

Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v  <--  process_bug.cgi
new revision: 1.263.2.1; previous revision: 1.263
done
Status: ASSIGNED → RESOLVED
Closed: 19 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: