Bug 571888 - Cannot toggle "Active" property for an alert -- setting does not stick.
Summary: Cannot toggle "Active" property for an alert -- setting does not stick.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: rhq_spearhead jon-sprint7-bugs jon-sprint8-bugs jon-sprint9-bugs
TreeView+ depends on / blocked
 
Reported: 2010-03-09 19:30 UTC by Corey Welton
Modified: 2015-01-04 23:41 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description Corey Welton 2010-03-09 19:30:56 UTC
Description of problem:

When user attempts to toggle the "Active" property for an alert, the value does not stick.

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


How reproducible:

Every time.

Steps to Reproduce:
1.  For a given resource, create an alert; do not mess with the Active property at this time.
2.  From the Alert Definitions view, note value in "Active" column is false; click the recently created alert.
3.  Click the Alert Properties "Edit" button.
4.  Click the checkbox next to "Active" to toggle; submit.
5.  View value of "true" listed in the properties table
6.  Return to Alert Definitions view.  Note value in "Active" column
7.  Click name of recently created/edited alert; view values in Alert Properties on resulting page.

Actual results:

In both the Alert Definitions view, and in the Alert Properties table of the detailed view, the value of "Active" reverts back to false.

Expected results:
Toggling the "Active" value sticks.

Additional info:

Comment 1 Jeff Weiss 2010-03-09 20:05:32 UTC
Additional problem here is that when you create a new alert definition, the default value for the "Active" checkbox is unchecked.  The default should be checked.  I think when a user creates an alert he intends to use it, it's only in rare cases he wants to create an inactive alert.

Comment 2 Charles Crouch 2010-03-17 22:33:55 UTC
We should doc the change to the default

Comment 3 Jeff Weiss 2010-03-18 13:25:29 UTC
Charles, was there a reason the default was changed?

Comment 4 Ian Springer 2010-03-18 14:56:01 UTC
I agree the default should be active=true, as it always has been up previously.

Comment 5 Charles Crouch 2010-04-26 16:58:08 UTC
Joseph, can you make sure the activation default is the same as it was for previous JON releases

Comment 6 Joseph Marques 2010-04-26 17:26:22 UTC
I believe this was an issue when the page was JSF-based.  Now that we rolled back to the old struts pages for alert definition / template creation, this should no longer be an issue.

Comment 7 gneelaka@redhat.com 2010-04-28 06:47:49 UTC
Tested on JON build#116 revision 10615

Steps:
   
  1)For a given resource,created an alert.
  2)In the Alert definition view,noted the value of active column to be true.
  3)Clicked the recently created alert.
  4)Clicked the alert properties "edit" button.
  5)Checked the active column to be true.
  6)click on ok.
  7)Check the value of the  active column listed to be true in the property table.
  

Observation: In both the Alert property table and alert definition view the value of active check box is true .Also the changes are reflected in the active column in the alert property table based on the changes done in the alert properties.

this is working fine now.

Comment 9 Corey Welton 2010-08-12 16:44:33 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.