Bug 1620745

Summary: Incorrect title while displaying Datastore details page
Product: Red Hat CloudForms Management Engine Reporter: Hilda Stastna <hstastna>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: ON_QA --- QA Contact: Jad Haj Yahya <jhajyahy>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.10.0CC: dmetzger, hkataria, lavenel, simaishi
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
Incorrect title of Datastore's details page
none
Right title of the Datastore's details page none

Description Hilda Stastna 2018-08-23 11:00:04 UTC
Created attachment 1478136 [details]
Incorrect title of Datastore's details page

Description of problem:
Incorrect title is displayed while displaying Datastore details page: unnecessary 'Names with.. ' and/or 'Filtered by..' is added to right cell text.

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

How reproducible:
100%

Steps to Reproduce:
1. Go to Compute > Infra > Datastores (you need some Datastores here!)
2. Search for some text using basic search and/or apply some filter
   (click on some filter in accordion or use Advanced Search)
3. Click on some datastore to display its details page

Actual results:
Unnecessary 'Names with.. ' and/or 'Filtered by..' is displayed in the title of the Datastore's details page.

Expected results:
Only name of the displayed Datastore should be in the title of the page.

Additional info:

Comment 2 Hilda Stastna 2018-08-23 11:05:33 UTC
Created attachment 1478139 [details]
Right title of the Datastore's details page

Comment 4 CFME Bot 2018-08-28 17:22:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/82d1469e503df4195750c7f8468cf1c9641dd144
commit 82d1469e503df4195750c7f8468cf1c9641dd144
Author:     Hilda Stastna <hstastna>
AuthorDate: Thu Aug 23 10:14:41 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Thu Aug 23 10:14:41 2018 -0400

    Fix incorrect title while displaying Datastore details page

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1620745

 app/controllers/storage_controller.rb | 16 +-
 1 file changed, 14 insertions(+), 2 deletions(-)