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!
Records Officer, British Dragonfly Society