This PR prevents execution from continuing when handling a resource that is in a failed state. It will either return status or drop the resource and call findItemData recursively rather than also continuing to controller.download.
It also clears up an issue where cache keys are created incorrectly when download formats are passed in, and removes some crufty code from the controller.
This PR prevents execution from continuing when handling a resource that is in a failed state. It will either return status or drop the resource and call findItemData recursively rather than also continuing to controller.download.
It also clears up an issue where cache keys are created incorrectly when download formats are passed in, and removes some crufty code from the controller.