Bug 807629

Summary: Enable/Disable options are available for Platforms
Product: [Other] RHQ Project Reporter: Jeeva Kandasamy <jkandasa>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: hrupp, skondkar
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 06:08:36 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 782579    
Attachments:
Description Flags
Enable/Disable none

Description Jeeva Kandasamy 2012-03-28 07:29:15 EDT
Created attachment 573315 [details]
Enable/Disable

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, [0] 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 [10001]



Version-Release number of selected component (if applicable):
Version: 4.4.0-SNAPSHOT
Build Number: 4600e41
GWT Version: 2.4.0
SmartGWT Version: 3.0

How reproducible:
100%

Steps to Reproduce:
1.Login to RHQ GUI
2.Navigate to Inventory--> Platforms
3.Click any platform and click 'Disable' button
  
Actual results:
Enable/Disable buttons are available for Platforms.

Expected results:
Enable/Disable is not allowed for platforms, hence 'Enable/Disable' buttons not required for Platforms

Additional info: Screen shot is attached.
Comment 1 Jay Shaughnessy 2012-04-02 18:10:10 EDT
master commit 65716f1a20eb07b2615ed6424a7d5268bd0d9308

dded more button enablement logic to handle prevent platform enable/disable.
Comment 2 Sunil Kondkar 2012-04-09 07:48:53 EDT
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.
Comment 3 Heiko W. Rupp 2013-08-31 06:08:36 EDT
Bulk close of old bugs in VERIFIED state.