Bug 1519984

Summary: In CF 4.5 , custom report is not able to be shown in "Available Reports" option in "Edit Report Menus"
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, jhardy, mpovolny, nansari, obarenbo
Target Milestone: GAKeywords: Regression
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1517073 Environment:
Last Closed: 2018-03-01 13:21:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1517073    
Bug Blocks:    

Comment 3 CFME Bot 2017-12-01 21:01:14 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0fc7fe106f84f305ce34ef753e09d0306a102e1b

commit 0fc7fe106f84f305ce34ef753e09d0306a102e1b
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Dec 1 10:42:45 2017 -0800
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Dec 1 15:52:47 2017 -0500

    Merge pull request #2905 from h-kataria/custom_reports_fix_in_menu_editor
    
    Fixed code to show Custom reports in Available Reports in menu editor
    (cherry picked from commit 84b091479e037f86f29c2d5835210b50b61d084f)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1519984

 app/controllers/application_controller.rb          |  4 ++-
 app/controllers/report_controller.rb               |  2 +-
 app/controllers/report_controller/menus.rb         | 12 ++++-----
 .../miq_report_controller/trees_spec.rb            |  2 +-
 spec/controllers/report_controller/menu_spec.rb    | 31 ++++++++++++++++++++++
 spec/controllers/report_controller_spec.rb         |  2 +-
 6 files changed, 43 insertions(+), 10 deletions(-)

Comment 4 Niyaz Akhtar Ansari 2017-12-13 10:24:36 UTC
Custom reports now available in "Available Reports" menu.
Verified in Version 5.9.0.12.20171205180333_3e32b3d

Comment 7 errata-xmlrpc 2018-03-01 13:21:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380