Bug 1489821 - Can not see custom reports in "Edit Report Menus" if Company Name does not contain a dash (-)
Summary: Can not see custom reports in "Edit Report Menus" if Company Name does not co...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Harpreet Kataria
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks: 1480288 1496924
TreeView+ depends on / blocked
 
Reported: 2017-09-08 12:23 UTC by Ian Tewksbury
Modified: 2021-03-11 15:44 UTC (History)
13 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1496924 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:23:02 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
edit_report_menus_with_no_dash_in_comapny_name (41.14 KB, image/png)
2017-09-08 12:23 UTC, Ian Tewksbury
no flags Details
edit_report_menus_with_dash_in_comapny_name (49.60 KB, image/png)
2017-09-08 12:24 UTC, Ian Tewksbury
no flags Details
all_reports_menu_with_no_dash_in_company_name (50.61 KB, image/png)
2017-09-08 12:24 UTC, Ian Tewksbury
no flags Details
all_reports_menu_with_dash_in_company_name (48.43 KB, image/png)
2017-09-08 12:25 UTC, Ian Tewksbury
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.