Copy deletes target data
Why does copy delete the target managed data?
If the target data for a copy operation is managed, VersIC does the following:
- Deletes and commits the target data.
- Copies the source to the target:
- If the source data is managed and Copy History is enabled, this is a DM copy
- If the source data is unmanaged, unix cp is used. Add the copied data if 'Add to VersIC' is enabled.
- Commit the changes.
The reasons for deleting managed target data rather than just checking it out and overwriting:
- If both the source and target are managed, a DM copy will not work.
- The list of files in the source and target may differ, so checkout + copy may result in inconsistent contents (e.g. if the thumbnail file exists only in the target data, the thumbnail will be incorrect)
- So that the DM history shows a discontinuity for a copy operation.
We recognize that this is not the preferred behavior in some use cases.
Workaround for cellview copy
If your intent is simply to replace the contents of a checked-out cellview, you can use 'Save As' from the source cellview to overwrite the target cellview.