Closed Bug 154036 Opened 23 years ago Closed 23 years ago

ccing an invalid user on a bug posts the bug anyway

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: bbaetz, Assigned: bbaetz)

References

Details

(Keywords: regression)

Attachments

(1 file)

To reproduce: 1. File a bug, ccing a nonexistent account Expected: - Error msg, and bug not filed Actualy: - Error msg, but bug filed anyway! This is because we do additional checking after the INSERT in post_bug!!! If we had transactions, this would be ok, but we don't, so we have to take care of this ourselves. This is not a regression, either. Bleh.
I take that back; it is a regression, so -> 2.16
Keywords: regression
Target Milestone: --- → Bugzilla 2.16
Blocks: 150783
I have a patch; -> me This was intorduced when gerv templatised stuff.
Assignee: myk → bbaetz
Keywords: patch, review
Attached patch v1Splinter Review
Comment on attachment 89052 [details] [diff] [review] v1 >+# Add the CC list ... >+# Add cclist These comments suck, you know. :-) Make the first one something like "Create ccids hash to store the user ids of the people cc'd in this bug and push their email addresses to the @cc list." The second one would be better written as "Insert the cc list into the database". Other than those, it works and looks good -> r=jouni.
Attachment #89052 - Flags: review+
Comment on attachment 89052 [details] [diff] [review] v1 What Jouni said :-) Otherwise r=gerv. Gerv
Attachment #89052 - Flags: review+
Checked in, trunk + branch.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
*** Bug 156467 has been marked as a duplicate of this bug. ***
*** Bug 160152 has been marked as a duplicate of this bug. ***
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: