Bug 462344

Summary: Searching for ! CC'ed ... doesn't work
Product: [Community] Bugzilla Reporter: Chris Ward <cward>
Component: Query/Bug ListAssignee: Noura El hawary <nelhawar>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.2CC: dkl, nelhawar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-06 16:41:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Ward 2008-09-15 15:28:18 UTC
Description of problem:
When I search for all bugs which cward is not CC'ed in, I get a full list of bugs which I *am* cc'ed in. I've tried both Boolean Query and non-boolean advanced query methods from the web-interface and xmlrpc.

Version-Release number of selected component (if applicable):
Current production 3.2

How reproducible:
always

Steps to Reproduce:
1.Open up advanced query page
2.Select RHEL 5 (to limit results)
3.Add Partner to keywords field
4. Add new boolean search
  CC - Does Not Contain String - cward
5. Search
6. Check bugs returned for CC:cward
  
Actual results:
Returns bugs which have CC:cward

Expected results:
Returns bugs which don't have CC:cward

Additional info:

Comment 1 Noura El hawary 2008-10-02 06:18:56 UTC
Thanks for reporting this issue problem has been verified, and working currently on a solution.

Noura

Comment 2 Chris Ward 2008-10-02 06:35:09 UTC
Glad to hear! Thanks for getting right on it. It's important for me to have this functionality for my bug tracking requirements.

Comment 3 Noura El hawary 2008-10-06 04:02:53 UTC
This is an upstream bug as well.

Noura

Comment 4 David Lawrence 2008-10-06 16:41:23 UTC
This is not a bug and should instead be done as described below:

Thanks
Dave

Upstream comment as they closed the bug:

This is working fine. As described in upstream bug 72977, you cannot use "doesn't
contain" as all bugs with 2+ users in the CC list would be returned (because
there is at least one other user in the CC list, which would match "doesn't
contain"). What you have to do is to use "NOT CC contains foo", which
returns the expected list. I tested on b.m.o, which runs 3.2rc1+.