Error occurred while deleting the versions under a package. For example:
---------- Begin <Delete Versions> Process ---------------
E0302067e: Cannot delete versions of item <file name> without deleting the same refactor operation version of parent path <folder name>.
E03060019: Process Execute failed. Process Name: Delete Versions.
---------- End <Delete Versions> Process ---------------
Harvest Software Change Manager v12.x and higher
The "Refactor" processes relating to folders in Harvest are "Move Item Path", "Remove Item Path", and "Rename Item Path". When any of these processes is performed on a folder within your Harvest repository, the outcome not only affects that folder but also every file and subfolder inside it. What Harvest does in this situation is create a refactor "bundle" with a new version number for the folder and every file and subfolder under it containing the requested change.
In the case of "Remove Item Path" this means a "D" tag will be applied to the new version of the folder as well as everything contained within that folder.
Normally in Harvest when you want to undo a change to a file you just delete the latest version checked in with the "Delete Version" process and the previous version is restored. When a folder has been refactored (removed, moved, or renamed) you can't delete any item inside the refactor bundle, you must delete the parent of the bundle. To find the parent folder, review the error message. it is listed there:
E0302067e: Cannot delete versions of item <file name> without deleting the same refactor operation version of parent path <folder name>.
Perform a Delete Version on this parent folder to "roll back" the refactor process that was performed.
Best Practice: When performing a refactor process it is always best to create a new, empty package just for this one task. That way the entire bundle is found there, making it easier to identify everything.