Bug 724449 (BRMS-394) - It is possible to delete a snapshot by copying it to itself
Summary: It is possible to delete a snapshot by copying it to itself
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-394
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0.ER2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0.ER3
Assignee: Tihomir Surdilovic
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-18 16:03 UTC by Jiri Locker
Modified: 2010-11-24 09:16 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-24 09:16:04 UTC
Type: Bug


Attachments (Terms of Use)
SnapshotCopyError.png (109.69 KB, image/png)
2010-10-18 16:04 UTC, Jiri Locker
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-394 0 None None None Never

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.


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