Bug 1409983

Summary: Possible Duplicates list shows "Add Me To CC List" link for bugs that the user is already CC'd on
Product: [Community] Bugzilla Reporter: Jason McDonald <jmcdonal>
Component: Creating/Changing BugsAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED WONTFIX QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4CC: huiwang, qgong
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-24 00:04:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason McDonald 2017-01-04 05:18:59 UTC
Description of problem:
When entering a new bug, Bugzilla shows a list of Possible Duplicates as you type in the Summary field.  For each of the potential duplicates, there's an "Add Me to the CC List" link, even if you are already CC'd on the referenced bug.

The link should probably be "Remove Me from CC List" if you are already CC'd on the bug.

Version-Release number of selected component (if applicable):
4.4 (current production) and 5.0.3. (beta.bugzilla.redhat.com)

How reproducible:
Always

Steps to Reproduce:
1. Go to New->Community->Bugzilla.
2. In the Summary field enter the summary of existing bug that you are already CC'd on.

Actual results:
- The existing bug correctly appears in the list of Possible Duplicates
- The link says "Add Me to CC List" despite you already being on the CC list for that bug.

Expected results:
The link for the existing bug says "Remove Me from CC List", and does remove you from the CC list when you click the link.

Additional info:
none

Comment 1 Jeff Fearn 🐞 2019-01-24 00:04:05 UTC
In preparation for entering maintenance mode we are closing bugs that are unlikely to be scheduled in maintenance sprints.