Bug 1372442

Summary: Advanced search tag type expression missing main object tags in drop down for newer objects
Product: Red Hat CloudForms Management Engine Reporter: Dan Clarizio <dclarizi>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Stefanisin <jistefan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: hkataria, jhardy, jistefan, mmojzis, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:search
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376514 1386260 (view as bug list) Environment:
Last Closed: 2017-06-12 17:36:56 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:
Bug Depends On:    
Bug Blocks: 1376514, 1386260    
Attachments:
Description Flags
Container Providers adv search tag element drop down
none
Infra Providers adv search tag element drop down none

Description Dan Clarizio 2016-09-01 18:03:46 UTC
Created attachment 1196922 [details]
Container Providers adv search tag element drop down

Description of problem:
When creating an expression on the Container Providers screen, the tag type element doesn't show tags for the container provider itself, only tags for related objects.  If you try on Infra Providers, the tags for the provider itself are shown at the top of the drop down list.

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

How reproducible:
Try to create advanced search expressions with tag elements for various list view screens

Actual results:
No tags for the object are shown in the drop down

Expected results:
Tags for the object are shown, similar to older list views like Infra Providers

Additional info:
Need to look at other "newer" list views to see if they need to be fixed as well.

Comment 2 Dan Clarizio 2016-09-01 18:04:23 UTC
Created attachment 1196923 [details]
Infra Providers adv search tag element drop down

Comment 6 CFME Bot 2016-10-12 10:46:00 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5fa1db3ad3216df865a277db5d409666d5808f6e

commit 5fa1db3ad3216df865a277db5d409666d5808f6e
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Mon Oct 10 18:12:31 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Mon Oct 10 18:12:31 2016 +0200

    Add ::ContainerManager to the TAG_CLASSES to display its tags in advanced search
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1372442

 lib/miq_expression.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 7 CFME Bot 2016-10-17 16:21:20 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/d79a3143b367d4aa8feca34cb2fa31b9bd93f510

commit d79a3143b367d4aa8feca34cb2fa31b9bd93f510
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Wed Oct 12 12:44:12 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Oct 13 16:52:31 2016 -0400

    Merge pull request #11800 from jzigmund/bz1372442-container_adv_search_missing_tags
    
    Add ::ContainerManager to the TAG_CLASSES to display its tags in adva…
    (cherry picked from commit bb1a972beab9cca3d4abb1238da9bf0c22548f28)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1372442

 lib/miq_expression.rb | 1 +
 1 file changed, 1 insertion(+)