Bug 1744542

Summary: [RFE] Hide the Configuration -> Database screen
Product: Red Hat CloudForms Management Engine Reporter: Dávid Halász <dhalasz>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED NOTABUG QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, dmetzger, hkataria, jprause, lavenel, mpovolny, mshriver, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1767645 (view as bug list) Environment:
Last Closed: 2020-03-20 15:43:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1767645    

Description Dávid Halász 2019-08-22 11:46:14 UTC
Description of problem:


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

How reproducible:


Steps to Reproduce:
1. Navigate to Configuration (gear icon) and select the Database accordion
2. Expand one of the tables
3. Click on the expanded `Indexes` node

Actual results:
The page doesn't navigate anywhere, error in production.log

Expected results:
There should be a reaction to the click that doesn't produce an error


Additional info:
Started POST "/ops/tree_select?id=xx-5" for 10.34.5.183 at 2019-08-22 07:41:51 -0400
[----] I, [2019-08-22T07:41:51.427213 #7931:2ab1db4c9084]  INFO -- : Processing by OpsController#tree_select as JS
[----] I, [2019-08-22T07:41:51.427280 #7931:2ab1db4c9084]  INFO -- :   Parameters: {"id"=>"xx-5"}
[----] F, [2019-08-22T07:41:51.446291 #7931:2ab1db4c9084] FATAL -- : Error caught: [NoMethodError] undefined method `constantize' for nil:NilClass
/opt/rh/cfme-gemset/bundler/gems/cfme-ui-classic-3cad7fea564b/app/controllers/ops_controller.rb:107:in `tree_selected_model'
/opt/rh/cfme-gemset/bundler/gems/cfme-ui-classic-3cad7fea564b/app/controllers/ops_controller.rb:170:in `tree_select'

Comment 7 CFME Bot 2019-08-27 13:30:58 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/20e1516f8a6d6cfcb834c9c8070e93d7a91e6b39
commit 20e1516f8a6d6cfcb834c9c8070e93d7a91e6b39
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Aug 27 06:16:29 2019 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Aug 27 06:16:29 2019 -0400

    Add Settings attribute for displaying the ops/database screen

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

 config/settings.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 8 CFME Bot 2019-08-27 13:32:09 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f1e5c6de7bcace563d9d0fad5d093fb7422c4cf7
commit f1e5c6de7bcace563d9d0fad5d093fb7422c4cf7
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Aug 27 06:15:33 2019 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Aug 27 06:15:33 2019 -0400

    Hide the OPS/Database screen with the possibility of re-enabling

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

 app/controllers/ops_controller.rb | 13 +-
 spec/controllers/ops_controller_spec.rb | 3 +-
 2 files changed, 7 insertions(+), 9 deletions(-)