koopjs / koop-provider-agol

ArcGIS Online provider for Koop (public services only).
Other
12 stars 10 forks source link

fix bugs in controller #75

Closed dmfenton closed 8 years ago

dmfenton commented 8 years ago

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.