Red Hat Bugzilla – Bug 975585
Manually typed Resource name in the "Resource Metric Graph" portlet breaks Dashboards (Globally uncaught exception)
Last modified: 2013-08-09 12:22:51 EDT
+++ This bug was initially created as a clone of Bug #918051 +++
Description of problem:
Dashboards become unavailable
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create new Dashboard
2. Add "Resource Metric Graph" portlet
3. Configure portlet, set Resource name from list to "C:\" and Metric to "Free Space", and after manually type "C:\test" into the Resource name. Save.
Dashboards would be unavailable.
String value in the RHQ_CONFIG_PROPERTY with name "resourceId" for this portlet would be "C:\test", causing NumberFormatException error (is seems that it expected to be an integer number, not a string).
--- Additional comment from Heiko W. Rupp on 2013-06-18 16:00:17 EDT ---
This is still true with RHQ 4.7 and current master
--- Additional comment from Heiko W. Rupp on 2013-06-18 16:13:42 EDT ---
to get going again, the offending portlet currently needs to be manually removed from the rhq_dashboard_portlets page
This was solved in master and is part of RHQ 4.8, so will be in JON 3.2
Turns out this is a dup of 846818
*** This bug has been marked as a duplicate of bug 846818 ***