Bug 688397 - availability icons in resource tree and resource header are not refreshed when resource avail changes even when switching tabs or switching between nodes in tree
Summary: availability icons in resource tree and resource header are not refreshed whe...
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.B02
Hardware: All
OS: All
high vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
Depends On: 688401
Blocks: gwt-tree jon3
TreeView+ depends on / blocked
Reported: 2011-03-16 23:08 UTC by Ian Springer
Modified: 2015-02-01 23:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 708318 None None None Never

Internal Links: 708318

Description Ian Springer 2011-03-16 23:08:24 UTC
I was viewing in the GUI a JBossAS Server resource that was down. It correctly showed the red down icon in both the resource tree and the resource header. I then brought the AS Server back up and ran the 'avail' Agent prompt command to change the corresponding resource's avail to up. I switched tabs in the GUI, but neither of the avail icons changed to the green up icon. I then switched to a different node in the resource tree. At that point, the header icon changed to green, but the tree icon remained red. In order to get the tree icon to change, I had to go to some other page in the GUI (e.g. Inventory or Administration) and then go back to the resource (to get the tree to fully reload).

I think we should periodically (perhaps every 60 seconds) refresh the avail of the current resource, and maybe even all resources that are visible in the tree,  and update the corresponding avail icons in both the tree and the header. We should also consider refreshing the current resource's avail if the user switches tabs.

Comment 1 John Mazzitelli 2011-03-24 18:36:58 UTC
this is essentially the same general problem as bug #688401 (with the additional issue of the icon in the header)

Comment 2 Jay Shaughnessy 2012-02-28 20:40:46 UTC
The tree supports Right Click refresh of nodes. Not the same thing but

Comment 3 Jay Shaughnessy 2012-04-02 22:04:06 UTC
The context menu refresh has been enhanced.

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