reva icon indicating copy to clipboard operation
reva copied to clipboard

RestoreFileVersion & ListFileVersions on local driver

Open piotrWichlinskiSoftwaremind opened this issue 1 year ago • 1 comments

There is a problem with RestoreFileVersion and ListFileVersions on the local driver. File versions on the local driver are stored in .shadow folder and every file version that is stored is a file with the name format vTIMESTAMP When I list file versions the key is just a timestamp (without a 'v' prefix). While restoring the file version key does not work, I get

status {
 code: CODE_NOT_FOUND
 message: "path not found when restoring file versions"
 trace: "762800556266f1c89d0bdc4fb1093e71"
}

REVA is searching for a version file with only a timestamp. I have to manually add the prefix 'v' to the key for this to work