Bug 724449 (BRMS-394)

Summary: It is possible to delete a snapshot by copying it to itself
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0.ER2   
Target Milestone: ---   
Target Release: 5.1.0.ER3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-394
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-24 09:16:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
SnapshotCopyError.png none

Description Jiri Locker 2010-10-18 16:03:12 UTC
securitylevel_name: Public

If you want to copy a snapshot to an existing one, BRMS deletes the target first and than replaces it with the snapshot that is being copied. This fails if you choose the snapshot that you want to copy as a target. Since the target is deleted first and it is the source at the same time, nothing is left to copy and the original snapshot is lost.

To avoid the user doing this unintentionally, the source snapshot shouldn't be made available as the target for the copy.

Comment 1 Jiri Locker 2010-10-18 16:04:06 UTC
Attachment: Added: SnapshotCopyError.png


Comment 2 Tihomir Surdilovic 2010-10-26 16:03:03 UTC
Link: Added: This issue depends JBRULES-2757


Comment 3 Tihomir Surdilovic 2010-10-26 16:06:11 UTC
Done. The view does no longer show the snapshot which we are trying to copy.