Bug 570161 - (Alert Page )Roles for Alert Has been selected by “Remove Roles” Button
Summary: (Alert Page )Roles for Alert Has been selected by “Remove Roles” Button
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Alerts
Version: 3.0.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: rhq_triage jon24-alert-notify
TreeView+ depends on / blocked
 
Reported: 2010-03-03 14:08 UTC by spandey
Modified: 2015-04-23 23:55 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description spandey 2010-03-03 14:08:28 UTC
Description of problem:


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

How reproducible:
100%

Steps to Repro : 

1)Login to RHQ host with valid credentials
2)Create Alert for Added Resource
3)Add Roles from Alert Notification Option 
4)Select Any Role from “Select the Roles to add “ Box 
5)Press “Remove Roles” Button

Expected Result : At step 5 Friendly Message should display “No role has been selected to remove “

Actual Result : At step 5 Selected Role has been added in “Selected Roles: “ Box


2nd scenario :

After step 5 select different role from “Select the Roles to add” box  and press “Removes Roles “Buttons 

Actual Result : At this step older Role entry has been removed and selected Role has been added to Selected Roles Box.

Comment 1 Charles Crouch 2010-04-27 17:55:20 UTC
Joseph, can you confirm this now works as expected or this test no longer makes sense.

Comment 2 Joseph Marques 2010-04-27 20:49:19 UTC
The roles-based custom UI fragment has been completely redeveloped.  The back/forth functionality should work now.

Comment 3 gneelaka@redhat.com 2010-04-28 13:22:21 UTC
tested on JON Build #116 ,Revision 10615

steps:

1)create an alert on the given resource.
2)Go to alert notification section.
3)Click on edit,addd new ,select system roles among alert notifications.
4)set ok.
5)select a role and click on Add Roles.

observation: the user role is added.

6)Select a role and click on remove roles 

Observation : the selected role is removed .

7)with ctrl key select multiple roles and click on add roles.

Observation: multiple roles are added.

8)with ctrl key select multiple roles and click on remove roles.

Observation: multiple roles are removed.

this is working fine now.

Comment 5 Corey Welton 2010-08-12 16:46:35 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.