Bug 739436 - Bugzilla search returning no results when searching against multiple flags
Summary: Bugzilla search returning no results when searching against multiple flags
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: Performance
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: ---
Assignee: Simon Green
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-19 03:43 UTC by lcarlon
Modified: 2014-10-12 22:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-19 06:01:56 UTC


Attachments (Terms of Use)

Description lcarlon 2011-09-19 03:43:46 UTC
Description of problem:

I need to search for cases where multiple flags have been set.

Specifically on the BRMS Product, for the flags jboss-brms-5.2.0+, AND technical_note? (the same problem occurs when I search against technical_note+, jboss-brms-5.2.0?, or jboss-brms-5.3.0?)


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


How reproducible:

consistently


Steps to Reproduce:
1. Create a new search, select 'Jboss' from classification, 'JBoss Enterprise BRMS Platform 5' from product, click refresh.
2. Select all for status new - closed.
3. Under Advanced Searching select 'Flags', 'contains the string', and enter the flag text, i.e. jboss-brms-5.2.0+
4. Click AND
5. Repeat step 3, select, 'Flags', 'contains the string', and enter technical_note?
  
Actual results:

The 'No results were found that matched your query.' page is displayed


Expected results:

A list of bugs with the flags should be displayed in the results.

for example (all match the criteria):

https://bugzilla.redhat.com/show_bug.cgi?id=736691
https://bugzilla.redhat.com/show_bug.cgi?id=724502
https://bugzilla.redhat.com/show_bug.cgi?id=724639


Additional info:

Comment 1 Simon Green 2011-09-19 06:01:56 UTC
Bugzilla sometimes doesn't do what you intend it to do, despite you thinking you asked for the right thing. By using the AND button (step 4) you were actually asking Bugzilla for a single flag that contained the string 'technical_note?' and 'jboss-brms-5.2.0+', which obviously would return zero results.

The correct solution is to use the 'Add another boolean chart' option in step 4. By doing this, you can search on two different flags for a bug. This should give you the result you desire.

  -- simon


Note You need to log in before you can comment on or make changes to this bug.