Bug 749899 - Can't delete a drift template
Summary: Can't delete a drift template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: drift
Version: 4.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: John Sanda
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 750895
Blocks: 707225
TreeView+ depends on / blocked
 
Reported: 2011-10-28 19:53 UTC by Mike Foley
Modified: 2012-02-07 19:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-07 19:21:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike Foley 2011-10-28 19:53:45 UTC
Description of problem:  Can't delete a drift template



Steps to Reproduce:
1.  Administration-->Drift Templates to create a drift template
2.  highlight it ... and click the delete button ... nothing happens
3.
  
Actual results:
nothing happens

Expected results:
drift template is deleted

Additional info:  loose end.  may not have been implemented.  

scenario 6.1  http://jbosson.etherpad.corp.redhat.com/9

Comment 1 John Sanda 2011-11-02 12:39:18 UTC
Mike, just a heads up. Template updates are not fully implemented yet either.

Comment 2 John Sanda 2011-11-02 19:24:33 UTC
Wired up the UI to call the server to perform template deletion. A detail message is provided in the confirm dialog that explains the cascading effect of deleting a template.

master branch commit hash:  0049694dd5e7b73eb45470d6dce09ca1f350581a
release_jon3.x commit hash: 5dfd88f388c15c02faac819268d237f07ab64d9a

Comment 3 Sunil Kondkar 2011-11-03 09:32:04 UTC

Created a drift template, and a drift definition using the template. Navigated to Administration-->Drift Definition Templates. Selected the drift template and clicked on 'Delete' button. It displays below message with 'Yes' and 'No' buttons:

"Warning! Deleting this template will also cause all attached drift definitions to be deleted as well. Those attached definitions along with all of their snapshots will be permanently removed from the system. Detached definitions will not be removed. Are you sure you want to continue?" 

On clicking 'No', it cancels the delete and on clicking 'Yes', it deleted the drift template and the drift definition successfully with a message in UI and in message center.

Comment 4 Mike Foley 2012-02-07 19:21:43 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE


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