Bug 583990 - Server side plugins config page does not react on tree selection
Summary: Server side plugins config page does not react on tree selection
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 3.0.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-20 13:02 UTC by Heiko W. Rupp
Modified: 2010-08-12 16:50 UTC (History)
1 user (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:50:09 UTC
Embargoed:


Attachments (Terms of Use)

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.


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