Closed
Bug 98744
Opened 23 years ago
Closed 23 years ago
Clicking "remove cc" checkbox, but not selecting user produces "Software Error"
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: mozilla.org, Assigned: jacob)
References
Details
Attachments
(1 file)
635 bytes,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
If a user, while modifying a bug selects the remove CC checkbox, but doesn't actually select any of the users, it blows up on process_bug.cgi, line 675: 672 $cc_add = $::FORM{newcc}; 673 # We came from bug_form which uses a select box to determine what cc's 674 # need to be removed... 675 if (defined $::FORM{removecc}) { 676 $cc_remove = join (",", @{$::MFORM{cc}}); 677 } 678 } The error message is "Can't use an undefined value as an ARRAY reference at /home/bugzilla/process_bug.cgi line 675"
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Simple, one line fix. If there aren't any selections and the remove cc box is checked, pretend like the remove cc box isn't checked.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 3•23 years ago
|
||
Comment on attachment 48694 [details] [diff] [review] patch - ignore the cc selectbox if nothing is selected looks good, works. r=myk, no second review needed. checked in.
Attachment #48694 -
Flags: review+
Comment 4•23 years ago
|
||
Checked in. Resolving fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•23 years ago
|
||
*** Bug 104391 has been marked as a duplicate of this bug. ***
Updated•12 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
•