If you set the export range to the same day, you can an empty dataset because the SELECT statement will look for a range spanning a single second of the day.

Line 145 of download_count/includes/download_count.export.inc:
$row = '"' . $record->dcid . '"' . ', ';

Just to the left of the line-ending '; is an extra space which throws off CSV import parsers. The line should look like this:

$row = '"' . $record->dcid . '"' . ',';

This change should be made for all files within the enclosing while() loop.

I'll post patches later.

CommentFileSizeAuthor
#1 download_count.delim-fix.patch1.55 KBjyg

Comments

jyg’s picture

StatusFileSize
new1.55 KB

Here's the patch...

WorldFallz’s picture

Status: Active » Fixed

Thanks for this one too jyg-- committed to current dev branch.

http://drupalcode.org/project/download_count.git/commit/5101e99

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.