Bug 857462

Summary: RFE: Disable 'Purge' button on destination level when no deployment is LIVE
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: Core UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.5CC: hrupp, jkremser, theute
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 06:16:51 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Libor Zoubek 2012-09-14 09:47:46 EDT
Description of problem: I have a bundle, that has been deployed to some destination and is already purged. So there is currently no LIVE deployment of this bundle. Then I navigate to my destination and click purge. I get meaningful error in message center.

It would be nice if purge button was disabled or not present at all when there's no LIVE deployment, because it would end in exception anyway.

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

How reproducible: always
Comment 1 Jirka Kremser 2012-10-08 09:13:35 EDT
fixed in master

time:    Mon Oct 8 14:52:02 2012 +0200
commit:  f4e6014c04a1b6d7bb81c1392f49a372d4477f93
author:  Jirka Kremser - jkremser@redhat.com
message: [BZ 857462 - RFE: Disable 'Purge' button on destination level when no deployment is LIVE] If at least one deployment is LIVE the button is enabled, otherwise it is disabled. The call is made, when constructing the UI components.
Comment 2 Libor Zoubek 2013-04-02 05:32:23 EDT
verified on RHQ Version: 4.7.0-SNAPSHOT Build Number: bd0c492
Comment 3 Heiko W. Rupp 2013-08-31 06:16:51 EDT
Bulk close of old bugs in VERIFIED state.