-
Type:
Bug
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 10.1
-
Component/s: Cache, File Upload , TransientStore
-
Epic Link:
-
Backlog priority:700
-
Sprint:nxLD Sprint 10.1.5
-
Story Points:2
When trying to Integrate a BinaryManager with a KeyValueTransientStore using a MemKeyValueStore and Performing the Cleanup Job on a Batch, the `removeFileEntry` specifically removes Blob's Parent directory, which in this case is the LRUFileCache (used by S3BinaryManager) base directory, causing `getTempFile()` call to throw a FileNotFoundException (Base Directory Deleted).
After discussing this issue with Florent Guillaume and Antoine Taillefer, we concluded that this Logic was added before moving this responsability to the TransientStore itself and it should be removed from the Batch class, since it's a "Business Object" and it should not have any specific implementation.