Issue 15917

download file not found throws exception

15917
Reporter: mdoering
Assignee: fmendez
Type: Bug
Summary: download file not found throws exception
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2014-06-11 13:52:20.063
Updated: 2015-03-02 15:21:14.45
Resolved: 2015-02-11 22:26:20.426
        
Description: The AP returns an exception instead of a simple 404 not found for missing download files:

http://api.gbif-uat.org/v0.9/occurrence/download/request/0000808-140106101727269.zip

http://api.gbif-uat.org/v0.9/occurrence/download/request/1234567.zip]]>
    


Author: fmendez@gbif.org
Created: 2015-02-11 22:26:20.487
Updated: 2015-02-11 22:26:20.487
        
https://github.com/gbif/occurrence/commit/7d797725baf801c2e5eb67defeed544cc9d5cf81
checks that download key exists before continue