Bug 1478355

Summary: Broken navigation tree in the datastore details screen
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: dhalasz, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: All   
OS: Unspecified   
Whiteboard: ui:datastore
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1480002 (view as bug list) Environment:
Last Closed: 2018-03-06 14:42:12 UTC 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:
Bug Depends On:    
Bug Blocks: 1480002    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2017-08-04 12:17:03 UTC
Created attachment 1309033 [details]
Screenshot of the bug

Description of problem:


Version-Release number of selected component (if applicable):
5.8.1.5.20170725160636_e433fc0 

How reproducible:
Always

Steps to Reproduce:
1. Add a provider with datastores.
2. Navigate to details screen of the provider and click on Datastores
3. Click on any datastore.

Actual results:
Navigation tree in Datastores accordion is broken. There are no any filters and datastores. 

Expected results:
Navigation tree should work.

Additional info:
A clean session might be required for reproducing.

Comment 7 CFME Bot 2017-08-09 13:18:45 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/48fd58e743f623b6da4141bac1b70844aa41d994

commit 48fd58e743f623b6da4141bac1b70844aa41d994
Author:     Dávid Halász <dhalasz>
AuthorDate: Fri Aug 4 11:18:10 2017 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Mon Aug 7 11:06:33 2017 +0200

    Reverse-merge tree params if the tree is already in the sandbox
    
    If the tree was already in the sandbox, the updated params were
    simply ignored. This causes issues when loading an explorer screen
    with a tree. The reverse-merging doesn't change the already set
    values for a tree, just adds the new ones that will fix the issue.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1478355

 app/presenters/tree_state.rb                             | 2 +-
 spec/controllers/application_controller/explorer_spec.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 9 Dmitry Misharov 2017-10-18 07:39:42 UTC
Verified in 5.9.0.2.20171010190026_0413a06. Navigation tree works as expected in the datastores tab.