Bug 729084 - GUI allows an Agent plugin which other plugins depend on to be deleted, without requiring the user to also delete the plugins that depend on it
Summary: GUI allows an Agent plugin which other plugins depend on to be deleted, witho...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: jon3
TreeView+ depends on / blocked
 
Reported: 2011-08-08 17:11 UTC by Ian Springer
Modified: 2013-08-06 00:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-20 02:01:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 683543 0 high CLOSED No confirmation message when deleting plugins 2021-02-22 00:41:40 UTC

Description Ian Springer 2011-08-08 17:11:11 UTC
For example, the Augeas plugin,which a bunch of other plugins (Apache, Cron, etc.) depend on, can be deleted. The GUI should do dependency checking and not allow a plugin to be deleted unless the user also deletes all other plugins that depend on that plugin.

Comment 1 Charles Crouch 2011-10-06 19:00:32 UTC
Setting as improvement. For JON3 we will make sure when deleting a plugin users 
are prompted to verify what they are doing

Comment 2 Charles Crouch 2011-10-07 18:28:07 UTC
Added link to https://bugzilla.redhat.com/show_bug.cgi?id=683543, which is 
where we will be putting the plugin deletion warning.

Comment 3 John Mazzitelli 2011-10-20 02:01:54 UTC
I just tried this and its working as expected. I selected the JBossAS plugin and tried to both delete it and disable it. Both times I got appropriate error messages:

You must delete the following dependent plugins also: [JBossCache 2.x Services, mod_cluster, RHQ Server, Hibernate Services]

You must disable the following dependent plugins also: [JBossCache 2.x Services, mod_cluster, RHQ Server, Hibernate Services]

For the plugin specifically mentioned in the description of this BZ, the Augeas plugin, I attempted to disable it and got this:

You must disable the following dependent plugins also: [Aliases, Sudo Access, Cobbler, Samba, Hosts, Postfix, Cron, Apache HTTP Server]

I tried deleting it and got this:

You must delete the following dependent plugins also: [Aliases, Sudo Access, Cobbler, Samba, Hosts, Postfix, Cron, Apache HTTP Server]

This appears to be working as expected.


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