Bug 683543

Summary: No confirmation message when deleting plugins
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.0.0.B02CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:42:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 683540, 734807    
Attachments:
Description Flags
the new confirmation none

Description Corey Welton 2011-03-09 16:46:54 UTC
Description of problem:
Currently, there is no modal window/warning to confirm whether user wants to delete plugins.

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


How reproducible:


Steps to Reproduce:
1.  Navigate to Administration > Plugins
2.  Attempt to select one or more plugins for removal
3.  Hit the delete button
  
Actual results:
Plugins are deleted w/o any confirmation.

Expected results:
There should be some sort of window that asks confirmation -- and probably should include a list of selected plugins too, i.e.,

Warning!

The following plugins are about to be deleted.

* IIS Plugin (iis.filename.jar)
* Hudson Plugin (hudson.filename.jar)

Are you sure you want to delete these?
Hit "Continue" to delete these plugins, or hit "Cancel" to stop this action.

[Continue] [Cancel]

Additional info:

Obviously you could use Yes/No or something more appropriate.

Comment 1 Charles Crouch 2011-09-27 14:36:38 UTC
We at least need an "Are you sure?" pop up. This could include warnings about 
not deleting plugins that others have dependencies on, especially the platform 
plugin

Comment 2 Charles Crouch 2011-09-27 16:16:49 UTC
An informative message would help alleviate 
https://bugzilla.redhat.com/show_bug.cgi?id=729084

Comment 4 John Mazzitelli 2011-10-20 03:19:12 UTC
Created attachment 529167 [details]
the new confirmation

there will be a new confirmation dialog when disabling and deleting agent and server plugins. See the attached snapshot for an example of what it will look like.

Comment 5 John Mazzitelli 2011-10-20 04:39:10 UTC
git commit 2c707ea56763c29f38f06d457f8d72301baebacb

Comment 6 Mike Foley 2011-10-20 18:25:37 UTC
tested positive and negative scenarios here ...for both server and agent plugins

Comment 7 Heiko W. Rupp 2013-08-31 10:42:38 UTC
Closing as this had been implemented a long time ago.