Bug 583990

Summary: Server side plugins config page does not react on tree selection
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: Core UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: rtimaniy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:50:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Heiko W. Rupp 2010-04-20 13:02:03 UTC
Description of problem:

Go to the server side plugin config page and e.g. configure the Microblog alert sender.
After this config is saved, click in the tree on another alert sender like the irc one.
The configuration of the selected plugin is not shown, but the config of the microblog sender stays
on the right side.

Console log shows 
14:49:22,469 WARN  [lifecycle] /rhq/admin/plugin/plugin-config.xhtml @71,82 nodeSelectListener="#{pluginConfigUIBean.processSelection}": java.lang.IllegalStateException: No tree element available or row key not set!

(only on first click on a tree node )


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

head of 10/04/20

How reproducible:

always

Comment 1 Heiko W. Rupp 2010-04-21 14:06:32 UTC
This is caused by 

<rich:tree              treeNodeVar="node"
                               nodeFace="#{node.leaf ? 'plugin' : 'pluginType'}">

in plugin-config.xhmtl

Comment 2 Heiko W. Rupp 2010-04-21 15:01:22 UTC
Comment on how to reproduce the bug : it is not necessary to even modify the existing configuration for the tree navigation to be stuck.

Fix is in 01fb7c2

Comment 3 Rajan Timaniya 2010-05-18 12:06:55 UTC
Verified on JON build #152 - Revision: 10620

Steps:
1) Log-in to JON server
2) Go to the server side plugin config page
3) Configure the Microblog alert sender
4) After this config is saved, click in the tree on another alert sender like the
irc.

The configuration of the selected plugin shows on the right side without any warning/error in log.

Comment 4 Corey Welton 2010-08-12 16:50:09 UTC
Mass-closure of verified bugs against JON.