Project:Download Count
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Chill35
Status:closed (fixed)

Issue Summary

The plugin seems to miss hits when the description in the file attachement menu is modified.
Example: upload a file "mydownload.rar" as a file attachement. When i change the description to f.e. "mydownload (windows version)", the downloads arent counted anymore.

Comments

#1

Hi there,
Thanks for pointing out this issue, I didn't know why this module wouldn't work until I found your post.

I've updated a few queries in the module file so that it now works fine for me, when description is different from the filename...
(Don't know if there's a better way to submit patches, but you'll find the updated module file attached)

AttachmentSize
download_count.module-6.x-1.x.txt 11.74 KB

#2

This issue is related: http://drupal.org/node/258726

I studied every query with a structure of the tables on a piece of paper by my side. This time I believe I got it right.

Please test the 6.x-1.2 release!

I would VERY MUCH appreciate your feedback on this.

Have a splendid day!

#3

Assigned to:Anonymous» Chill35
Status:active» fixed

#4

Status:fixed» closed (fixed)

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