-
Bug
-
Resolution: Fixed
-
Normal
-
None
When deleting a file within a folder we call MongoDBDatasetService.findByFileId and it returns an empty list because it queries the `files` subdocument, which is empty, instead of looking for the parent folder.
This can be reproduced by trying to trigger an extraction on "dataset.file.removed".
The code for traversing the folders is in app.api.Files.folderPath():1255.