Bug 1221299 - UI: Catalog Explorer selects parent node of the node in the tree when selecting a node from right side
Summary: UI: Catalog Explorer selects parent node of the node in the tree when selecti...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-13 16:11 UTC by Harpreet Kataria
Modified: 2015-06-16 13:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:02:19 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Harpreet Kataria 2015-05-13 16:11:22 UTC
Description of problem: Catalog Explorer selects parent node of the node in the tree when selecting a node from right side, this only happens when parent node of the node clicked on is not already open in the tree.


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


How reproducible:100%


Steps to Reproduce:
1. Go To Catalog Explorer
2. Click an item on the right, make sure the parent node is not open in the tree.
3. Expands the parent node of the item clicked in the tree but does not select the item that was clicked on in the tree instead show parents node as selected in tree.

Actual results: Shows parent node as selected


Expected results: When clicking on an item it should open it's parent node in the tree and select the child node under it.


Additional info:

Comment 2 CFME Bot 2015-05-13 18:21:11 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d92cad0b3f68a257ef1913c9cb553559e6ba0e0c

commit d92cad0b3f68a257ef1913c9cb553559e6ba0e0c
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed May 13 12:13:27 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed May 13 12:13:27 2015 -0400

    Fixed code to set x_node correctly when opening parent nodes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221299

 vmdb/app/controllers/catalog_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 John Prause 2015-05-14 18:38:15 UTC
This will need to be cherry-pick to 5.4.z since th efix was made after the 5.4.z branch was created yesterday.

Comment 4 CFME Bot 2015-05-14 21:35:46 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=43d0ae54ecc66f0a668cfe3138ab24cc13296258

commit 43d0ae54ecc66f0a668cfe3138ab24cc13296258
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed May 13 12:13:27 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu May 14 15:34:41 2015 -0400

    Fixed code to set x_node correctly when opening parent nodes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221299
    (cherry picked from commit d92cad0)

 vmdb/app/controllers/catalog_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 CFME Bot 2015-05-14 21:35:59 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=6da455933542df5593fec300f34f62bc97d10cf2

commit 6da455933542df5593fec300f34f62bc97d10cf2
Merge: 054cf98 43d0ae5
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu May 14 17:34:25 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu May 14 17:34:25 2015 -0400

    Merge branch 'bz_1221299' into '5.4.z'
    
    Fixed code to set x_node correctly when opening parent nodes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1221299
    (cherry picked from commit d92cad0)
    
    @dclarizio please review
    
    See merge request !60

 vmdb/app/controllers/catalog_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Nandini Chandra 2015-05-27 22:26:23 UTC
Verified in 5.4.0.2

Comment 9 errata-xmlrpc 2015-06-16 13:02:19 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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