cloud-pipeline
cloud-pipeline copied to clipboard
Error when user tries to restore version of an object that stored in "archive" storage class
Describe the bug If user tries to restore version of an object that stored in "archive" storage class he/she will get an error says:
Operation is not valid for the source object's storage class
Because it isn't possible to simply restore such object, firstly cloud restore process should be done.
Expected behavior
It shouldn't be possible for user to restore (make such version latest) from Cloud-Pipeline UI
- Another case: we try to rename folder that contains files in GLACIER we can't do that
- Another case: we try to rename folder that contains files in GLACIER and files not in glacier (don't forget about file that we might created when create directory (.keep)) - it will create another directory and move files not from GLACIER to that directory and fail to move files from GLACIER