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)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: bbaetz, Assigned: bbaetz)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.61 KB,
patch
|
jouni
:
review+
gerv
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•23 years ago
|
||
I take that back; it is a regression, so -> 2.16
Keywords: regression
Target Milestone: --- → Bugzilla 2.16
Assignee | ||
Comment 2•23 years ago
|
||
I have a patch; -> me
This was intorduced when gerv templatised stuff.
Assignee | ||
Comment 3•23 years ago
|
||
Comment 4•23 years ago
|
||
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 5•23 years ago
|
||
Comment on attachment 89052 [details] [diff] [review]
v1
What Jouni said :-) Otherwise r=gerv.
Gerv
Attachment #89052 -
Flags: review+
Assignee | ||
Comment 6•23 years ago
|
||
Checked in, trunk + branch.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•23 years ago
|
||
*** Bug 156467 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•23 years ago
|
||
*** Bug 160152 has been marked as a duplicate of this bug. ***
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•