* Create a CSV view, "serve as file", set path
* create a link to that path
* click on that link

Result: No http response if result set is empty

Expected: Empty file

Comments

delphium’s picture

I too am experiencing this issue with both current dev and 7.x-3.0-beta7.

Likewise I would expect an empty file or to conform to the "No Results Behaviour" thus allowing for custom markup to be inserted if no results had been found.

attisan’s picture

did you solve this issue?

Does someone know what would fix this?

reswild’s picture

If I remember correctly, I solved this on one site I was working on by adding custom tpl.php files for the export views. In these, I added a "nbsp;" to the end of the content, so a blank page would be output if there was no result. (Or technically, a page containing one non-breaking space would be output.)