Bug 1403911

Summary: ManageIQ path is displayed in Key Pairs Advanced search elements
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Sam Lucidi <slucidi>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:search:filter
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-15 15:33:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Attachments:
Description Flags
filter full path none

Description Matouš Mojžíš 2016-12-12 15:46:35 UTC
Created attachment 1230831 [details]
filter full path

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Go to Compute -> Cloud -> Key Pairs
2. Click on advanced search and try to add a new element
3.

Actual results:
Whole ManageIQ advanced search element path is shown as seen in image attachment.

Expected results:
Only path after last "/" should be shown.

Additional info:

Comment 2 Harpreet Kataria 2017-01-10 21:51:09 UTC
Sam,

Fields in Advanced search are displaying the full path due to the fact that the db is being passed in to get_view and further down to adv_search_build methods including the full path, like ManageIQ::Providers::CloudManager::AuthKeyPair. Can you please a take a look to see if this can be changed to work as other entities such as Availability Zones or others under Compute -> Cloud sub tab.
Let me know if you have questions.

Thanks,
~Harpreet

Comment 3 Sam Lucidi 2017-01-12 21:37:00 UTC
A pull request to resolve this is available here: https://github.com/ManageIQ/manageiq/pull/13481

Comment 5 Matouš Mojžíš 2017-11-15 15:33:00 UTC
Verified in 5.8.2.3. There is no ManageIQ path displayed.

Comment 6 Matouš Mojžíš 2018-06-19 16:52:14 UTC
One time issue. Setting qe_test_coverage flag to -.