If a file is open by another process and RV tries to move the file as part of a fix, RV will crash.
Steps to reproduce:
Place a file which is needed by a DAT in your ToSort
Configure the directory rule for the DAT to "Files" archive type with "Override DAT" option selected
Scan the ToSort
Open the file in your ToSort in another application so that is locked
Confirm the file is locked by trying to delete it with explorer
After confirming the file is locked, have RV perform a fix which should attempt to move the file
Notice RV will crash when it attempts to move the locked file
Expected behavior:
RomVault should present the user with a halting error and update the cache, OR
RomVault should flag the file as locked and continue with the remainder of the fix operation
(screenshot)
johnsanc
3 years ago
If a file is open by another process and RV tries to move the file as part of a fix, RV will crash.
Steps to reproduce:
Place a file which is needed by a DAT in your ToSort
Configure the directory rule for the DAT to "Files" archive type with "Override DAT" option selected
Scan the ToSort
Open the file in your ToSort in another application so that is locked
Confirm the file is locked by trying to delete it with explorer
After confirming the file is locked, have RV perform a fix which should attempt to move the file
Notice RV will crash when it attempts to move the locked file
Expected behavior:
RomVault should present the user with a halting error and update the cache, OR
RomVault should flag the file as locked and continue with the remainder of the fix operation
(screenshot)