Bug 696740

Summary: Resource tree not always expanding in detail view.
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.0.0.Beta2CC: hrupp, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 01:10:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 585306    

Description Jay Shaughnessy 2011-04-14 18:37:40 UTC
There are time when navigating to a resource detail view that the tree does not expand.  It is not consistent

Comment 1 Jay Shaughnessy 2011-04-14 18:39:53 UTC
This is an async issue.  It's possible that the datasource fetch is calling its completion callback before we're done actually loading the tree.

I think this is due to our making async calls while we process the fetch results. Still investigating...

Comment 2 Jay Shaughnessy 2011-04-15 13:07:39 UTC
The code looked good but didn't work in all cases. I suspect maybe a smartgwt
problem.  A added what should be unnecessary code to get it to work. Seems
ok but don't know if it will last forever. Maybe in a future version of
smartgwt we can remove it.

Test Notes: General tree nav should be executed but additionally:

1) Nav to RHQ Agent resource
   Resource Tree should be expanded correctly and agent resource selected.

2) Nav to Alerts->History subtab
   (the specific subtab does not really matter but I was using this one)
   No change to the tree

3) Nav to Reports
   Tree is gone, reports section stack is there

4) Click Browser back to return to alerts history subtab
   Resource Tree should be expanded like in step 1.  If the problem shows up
   only the root platform node will be displayed

Comment 3 Sunil Kondkar 2011-04-25 09:08:20 UTC
Verified on build#1175(Version: 4.0.0-SNAPSHOT Build Number: a90faf9)

Verified the general tree navigation along with the below:
Navigation to the RHQ Agent resource, Alerts->History sub tab, Reports section and then 'Back' browser button to return to alerts history sub tab.
The resource tree is expanded.
Also verified in some other areas like the 'Resource' links in Reports section.

Marking as verified.

Comment 4 Corey Welton 2011-05-24 01:10:03 UTC
Bookkeeping - closing bug - fixed in recent release.