Bug 807629 - Enable/Disable options are available for Platforms
Summary: Enable/Disable options are available for Platforms
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: unspecified
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHQ 4.4.0
Assignee: Jay Shaughnessy
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: jon310-sprint11, rhq44-sprint11
TreeView+ depends on / blocked
 
Reported: 2012-03-28 11:29 UTC by Jeeva Kandasamy
Modified: 2013-08-31 10:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-31 10:08:36 UTC
Embargoed:


Attachments (Terms of Use)
Enable/Disable (272.57 KB, image/jpeg)
2012-03-28 11:29 UTC, Jeeva Kandasamy
no flags Details

Description Jeeva Kandasamy 2012-03-28 11:29:15 UTC
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 22:10:10 UTC
master commit 65716f1a20eb07b2615ed6424a7d5268bd0d9308

dded more button enablement logic to handle prevent platform enable/disable.

Comment 2 Sunil Kondkar 2012-04-09 11:48:53 UTC
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 10:08:36 UTC
Bulk close of old bugs in VERIFIED state.


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