Bug 603646 - Exception on click to re-enable
Summary: Exception on click to re-enable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 3.0.0
Hardware: All
OS: All
low
high
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Corey Welton
URL:
Whiteboard:
: 602184 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-14 09:00 UTC by Heiko W. Rupp
Modified: 2010-11-11 14:29 UTC (History)
1 user (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-08-12 16:51:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2010-06-14 09:00:38 UTC
Have an alert definition be disabled and then go to the definition page.
In the upper right corner is a link to "re-enable".
Clicking this yields an exception

Target Url e.g.:
http://pickeldi:7080/alerts/RenableAlertDefinition.do?id=10001&a=&mode=viewRoles&ad=10011

Stack trace:
java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:470) at java.lang.Integer.(Integer.java:660) at org.rhq.enterprise.gui.legacy.action.resource.common.monitor.alerts.ReenableAlertDefinitionAction.execute(ReenableAlertDefinitionAction.java:58) at org.rhq.enterprise.gui.legacy.action.BaseRequestProcessor.processActionPerform(BaseRequestProcessor.java:46) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at

Comment 1 Heiko W. Rupp 2010-06-14 09:03:14 UTC
Parameter 'a' is not set

when coming from http://pickeldi:7080/alerts/Config.do?mode=viewRoles&ad=10011&id=10001

JON beta1 build

Comment 2 Heiko W. Rupp 2010-06-15 09:10:43 UTC
5c1450b on release-3.0.0 branch

this disables the 're-enable' function for definitions. Users need to click on 'back to definitons' and then issue the 'enable' function there.

Comment 3 Corey Welton 2010-06-21 14:22:29 UTC
QA notes:  This is accessible by clicking on an alert via the alerts view -- not by going in to the alert definition itself.

Comment 4 Corey Welton 2010-06-21 14:22:56 UTC
QA Verified - the "enable this alert" link now works.

Comment 5 Corey Welton 2010-08-12 16:51:48 UTC
Mass-closure of verified bugs against JON.

Comment 6 Lukas Krejci 2010-11-11 14:29:11 UTC
*** Bug 602184 has been marked as a duplicate of this bug. ***


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