Bug 1377176

Summary: Can't search out any bugs by SubComponent which is grandchild of a component
Product: [Community] Bugzilla Reporter: yijli
Component: Query/Bug ListAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0CC: huiwang, mtahir, mtyson, qgong
Target Milestone: 5.0   
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: 2016-09-20 04:10:31 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:

Description yijli 2016-09-19 05:50:21 UTC
Description of problem:
Can't search out any bugs by SubComponent which is grandchild of a component,this error only happened to the subcomponent which is grandchild of a component, The subcomponent which is child of a component couldn't reproduce this bug.

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

How reproducible:
always

Steps to Reproduce:
1.Go to Advanced Search,try to search bugs by subcomponent field
2.Fill in query with below conditions:
classification:Red Hat 
product:Red Hat Enterprise Linux 7  
component:kernel 
subcomponent:  Graphics
3.Click 'Search' button

Actual results:
It doesn't show any bugs

Expected results:
It should list all bugs which detail info is:
classification:Red Hat 
product:Red Hat Enterprise Linux 7  
component:kernel 
subcomponent:  Graphics

Additional info:
But for the subcomponent which is just child of a component couldn't reproduce this bug, like fill in query with below conditions:
classification:Red Hat
product:Red Hat Enterprise Linux 7
component:kernel
subcomponent:File Systems

Comment 1 Matt Tyson 🤬 2016-09-20 00:54:55 UTC
You need to specify the full path name of the sub component, otherwise it doesn't know which 'Graphics' sub component you are looking for.

In this case Graphics is a child of of desktop, so you need to specify the full chain of subcomponents.  In this case it is 'Desktop Graphics'


This will give you the results you're looking for.

Product: Red Hat Enterprise Linux 7  
Component: kernel
Sub Component: Desktop Graphics

Comment 2 Matt Tyson 🤬 2016-09-20 01:02:59 UTC
Sorry, ignore my previous comment.  I missed that you were reporting this against bugzilla 5, which is indeed broken in the way you describe.

Comment 3 Jeff Fearn 🐞 2016-09-20 04:10:31 UTC
Fixed this as part of 1349773.

*** This bug has been marked as a duplicate of bug 1349773 ***