Red Hat Bugzilla – Bug 807629
Enable/Disable options are available for Platforms
Last modified: 2013-08-31 06:08:36 EDT
Created attachment 573315 [details]
Description of problem:
Enable/Disable options are available for Platforms. I tried to disable a platform by GUI and got a info message saying "You have successfully disabled the selected resources and their children,  resources." and disabled nothing.
On RHQ server LOG:
2012-03-28 16:44:59,173 INFO [org.rhq.enterprise.server.resource.ResourceManagerBean] Disabling a platform is not allowed, skipping platform resource with id 
Version-Release number of selected component (if applicable):
Build Number: 4600e41
GWT Version: 2.4.0
SmartGWT Version: 3.0
Steps to Reproduce:
1.Login to RHQ GUI
2.Navigate to Inventory--> Platforms
3.Click any platform and click 'Disable' button
Enable/Disable buttons are available for Platforms.
Enable/Disable is not allowed for platforms, hence 'Enable/Disable' buttons not required for Platforms
Additional info: Screen shot is attached.
master commit 65716f1a20eb07b2615ed6424a7d5268bd0d9308
dded more button enablement logic to handle prevent platform enable/disable.
Verified on Version: 4.4.0-SNAPSHOT Build Number: 233eac6
Selected a platform in Inventory--> Platforms and verified that the buttons Disable/Enable are now greyed out.
Bulk close of old bugs in VERIFIED state.