Closed
Bug 422258
Opened 17 years ago
Closed 17 years ago
Let @cc be used to add new users to the CC list when editing bugs
Categories
(Bugzilla :: Incoming Email, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: LpSolit, Assigned: LpSolit)
Details
Attachments
(1 file, 1 obsolete file)
1.16 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
On bug creation, you have to use the @cc label to CC users. When editing bugs, you have to use @newcc. I never took care of this distinction, and probably other users won't remember the distinction either. We should be consistent and use @cc in both cases.
Comment 1•17 years ago
|
||
We should also let "newcc" keep working, but if they're both specified, "cc" should override "newcc". I think this is a small polish and a good API enhancement and I wouldn't object to taking it for 3.2, unless somehow it becomes a large patch (which I can't imagine it being).
Target Milestone: --- → Bugzilla 3.2
![]() |
Assignee | |
Comment 2•17 years ago
|
||
email_in.pl contains:
# Make it possible to remove CCs.
if ($fields{'removecc'}) {
$fields{'cc'} = [split(',', $fields{'removecc'})];
$fields{'removecc'} = 1;
}
and process_bug.cgi will do:
$cc_add = join(' ',$cgi->param('newcc'));
# We came from bug_form which uses a select box to determine what cc's
# need to be removed...
if (defined $cgi->param('removecc') && $cgi->param('cc')) {
$cc_remove = join (",", $cgi->param('cc'));
}
So 'cc' is used to remove users from the CC list (while on post_bug.cgi it's used to add users to it). Should we then close this bug as WONTFIX or allow the email sender to specify @cc anyway, and convert it to @newcc before @removecc is checked?
Comment 3•17 years ago
|
||
(In reply to comment #2)
> So 'cc' is used to remove users from the CC list (while on post_bug.cgi it's
> used to add users to it). Should we then close this bug as WONTFIX or allow the
> email sender to specify @cc anyway, and convert it to @newcc before @removecc
> is checked?
We should let the user specify @cc and do whatever we have to do, behind the scenes, to make that work.
![]() |
Assignee | |
Comment 4•17 years ago
|
||
Assignee: incoming.email → LpSolit
Status: NEW → ASSIGNED
Attachment #318866 -
Flags: review?(mkanat)
![]() |
Assignee | |
Comment 5•17 years ago
|
||
Same patch as above, but with updated POD.
Attachment #318866 -
Attachment is obsolete: true
Attachment #318942 -
Flags: review?(mkanat)
Attachment #318866 -
Flags: review?(mkanat)
Comment 6•17 years ago
|
||
Comment on attachment 318942 [details] [diff] [review]
patch, v1.1
Yeah, looks good. Although we should probably make it "$fields{'newcc'} = delete $fields{'cc} if $fields{'cc}".
Attachment #318942 -
Flags: review?(mkanat) → review+
Updated•17 years ago
|
Flags: approval+
![]() |
Assignee | |
Comment 7•17 years ago
|
||
Checking in email_in.pl;
/cvsroot/mozilla/webtools/bugzilla/email_in.pl,v <-- email_in.pl
new revision: 1.17; previous revision: 1.16
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: Rename @newcc to @cc when editing bugs, for consistency → Let @cc be used to add new users to the CC list when editing bugs
Comment 8•17 years ago
|
||
Added to the release notes for Bugzilla 3.2 in a patch on bug 432331.
Keywords: relnote
You need to log in
before you can comment on or make changes to this bug.
Description
•