Bug 1489821

Summary: Can not see custom reports in "Edit Report Menus" if Company Name does not contain a dash (-)
Product: Red Hat CloudForms Management Engine Reporter: Ian Tewksbury <itewksbu>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: brant.evans, cmatthew, dclarizi, hkataria, itewksbu, jhardy, molasaga, mpovolny, nansari, niroy, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1496924 (view as bug list) Environment:
Last Closed: 2018-03-06 15:23:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1480288, 1496924    
Attachments:
Description Flags
edit_report_menus_with_no_dash_in_comapny_name
none
edit_report_menus_with_dash_in_comapny_name
none
all_reports_menu_with_no_dash_in_company_name
none
all_reports_menu_with_dash_in_company_name none

Description Ian Tewksbury 2017-09-08 12:23:21 UTC
Description of problem:
If the company name does not contain a dash, like "FOO-BAR" then you can not see custom reports in the "Edit Report Menus" menu to be able to share those reports with other groups.


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


How reproducible:
Has been confirmed on three different CloudForms clusters.


Steps to Reproduce:
1. create a custom report
2. Set company name to "FOO"
3. Check "Edit Report Menus"
4. You will not be able to see the custom reports
5. Set company name to "FOO-BAR"
6. Go to "Edit Report Menus"
7. You will be able to see the custom reports

Actual results:
Can not see custom reports in the "Edit Report Menus" menu if the company name does not contain a dash (-)


Expected results:
Company name should not affect whether you can see custom reports in the "Edit Report Menus" menu


Additional Info:
Screen shots attached.

Comment 2 Ian Tewksbury 2017-09-08 12:23:48 UTC
Created attachment 1323724 [details]
edit_report_menus_with_no_dash_in_comapny_name

Comment 3 Ian Tewksbury 2017-09-08 12:24:11 UTC
Created attachment 1323725 [details]
edit_report_menus_with_dash_in_comapny_name

Comment 4 Ian Tewksbury 2017-09-08 12:24:45 UTC
Created attachment 1323726 [details]
all_reports_menu_with_no_dash_in_company_name

Comment 5 Ian Tewksbury 2017-09-08 12:25:09 UTC
Created attachment 1323727 [details]
all_reports_menu_with_dash_in_company_name

Comment 6 Dave Johnson 2017-09-08 12:44:56 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.

Comment 7 Ian Tewksbury 2017-09-08 12:54:24 UTC
Set to Medium / High. This is impacting a customer, we had to set the company name to include a dash to work around the issue.

Comment 9 CFME Bot 2017-09-25 23:03:35 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/6368270403d7f50dd1706b1806a6bb9194b98702

commit 6368270403d7f50dd1706b1806a6bb9194b98702
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Sep 25 15:40:37 2017 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Sep 25 18:31:40 2017 -0400

    Fixed Custom Reports node text when there is "-" present in tenant name
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1489821

 app/controllers/application_controller.rb            |  2 +-
 spec/controllers/miq_report_controller/menus_spec.rb | 18 +++++-------------
 2 files changed, 6 insertions(+), 14 deletions(-)

Comment 11 Niyaz Akhtar Ansari 2017-12-18 08:51:54 UTC
Verified in Version 5.9.0.13.20171212214416_f4f190a