Attachment "number of downloads" counter resets whenever a reply is edited


(Agustín Santiago Gutiérrez) #1

This happens after updating to v1.9.0.beta13 +63

Steps to reproduce:

  1. Create a post with attachments.
  2. Let some users download them, so that the counters go up.
  3. Edit the post, for example adding a single text line at the end.

After this, counters are back to zero. Also, the colours for the “dark theme” (default, no changes) seem to have become broken. Particularly, the site banner used to be white and very noticeable. Now it is blue and has black text, so it is hard to read.


(Jeff Atwood) #2

Does this persist after you refresh the page by pressing f5 in your browser or the refresh button?


(Agustín Santiago Gutiérrez) #3

Yes, it does.

Also using different browsers (chrome and firefox) show the same numbers, which go back to zero for attachments if the reply is edited.


(Jeff Atwood) #4

Ok @zogstrip can you take a look next week and see what you think?


(Agustín Santiago Gutiérrez) #10

I have just updated to

v2.1.0.beta1 +1

The “link click counter” bug for file attachments still remains exactly the same as described.


(Jeff Atwood) #11

Let’s see

test-text-file.txt (9 Bytes)

I just made an edit to this post, here’s what it looked like before my edit

image

Yep confirmed that resets the count for some reason…