Bug 154466

Summary: notequals and notsubstring queries don't return all expected results
Product: [Community] Bugzilla Reporter: To Ngan <tngan>
Component: Bugzilla GeneralAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2   
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-12-01 19:45:10 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 To Ngan 2005-04-11 23:54:15 UTC
Description of problem:
notequals and notsubstring queries don't return all expected results.  Came
across this while running queries against redhat.bugzilla.com


Version-Release number of selected component (if applicable):
most recent RH bugzilla


How reproducible:
consistently


Steps to Reproduce:
1. This query returns 30 Red Hat DS bugs that's New, Assigned or Reopened:
https://bugzilla.redhat.com/bugzilla/buglist.cgi?query_format=advanced&product=Red%20Hat%20Directory%20Server&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED

2. This query returns 23 RHDS bugs that's New, Assigned or Reopened and blocks
146020:
https://bugzilla.redhat.com/bugzilla/buglist.cgi?query_format=advanced&product=Red%20Hat%20Directory%20Server&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=blocked&type0-0-0=equals&value0-0-0=146020

3. These 2 queries supposedly should return all RHDS bugs that's New, Assigned
or Reopened and does not block 146020

https://bugzilla.redhat.com/bugzilla/buglist.cgi?query_format=advanced&product=Red%20Hat%20Directory%20Server&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=blocked&type0-0-0=notsubstring&value0-0-0=146020

https://bugzilla.redhat.com/bugzilla/buglist.cgi?query_format=advanced&product=Red%20Hat%20Directory%20Server&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=blocked&type0-0-0=notequals&value0-0-0=146020


Actual results:
Only 3 bugs were returned by the last 2 queries


Expected results:
Expected 7 bugs that does not block 146020.


Additional Info:
The missing 4 bugs all have a blank Blocks field.

Comment 1 David Lawrence 2006-04-08 17:42:14 UTC
Red Hat's current Bugzilla version is 2.18. I am moving all older open bugs to
this version. Any bugs against the older versions will need to be verified that
they are still bugs. This will help me also to sort them better.

Comment 2 David Lawrence 2008-09-16 16:52:26 UTC
Red Hat Bugzilla is now using version 3.2 of the Bugzilla codebase and therefore this bug will need to be re-verified against the new release. With the updated code this bug may no longer be relevant or may have been fixed in the new code.
Updating bug version to 3.2.

Comment 3 David Lawrence 2008-12-01 19:45:10 UTC
Please reopen this issue if this is still occurring in the latest version 3.2 of Bugzilla.