1

Topic: Empty download when only one record is in search results

I was doing some testing and generated a Download file with a single record. When it was ready many hours later it contained a blank spreadsheet in a zero-length CSV. Here's the notification:

A download file has been generated on Thu May 26 09:11:49 UTC 2022 via the search: https://records.nbnatlas.org/occurrences/search?q=data_resource_uid%3Adr731&fq=-occurrence_status%3A%22absent%22&fq=taxon_name%3A%22Stylurus%20flavipes%22.

Please download your file from https://records-ws.nbnatlas.org/biocache-download/538ad3a3-e23f-39ad-8e31-fac4066fedfb/1653556309943/one-record-to-test-recorder-name.zip 

Is this a one-off or a bug? OK, so it's not a normal case but may indicate an out-by-one error somewhere!

David Hepper
Records Officer, British Dragonfly Society

2

Re: Empty download when only one record is in search results

Hi David,

I think there must have been a problem with the records component when you tried. I have just downloaded that one record in both the simple and full Darwin core format with no problem. The emails came through immediately.

I am sorry for the inconvenience,

Sophie

3

Re: Empty download when only one record is in search results

That's working again, thanks, Sophie.
The empty output file problem affected others doing larger downloads yesterday, too, I'm informed.

David Hepper
Records Officer, British Dragonfly Society