Click counter missing for some internal links

I’m raising this as a potential bug.

I’ve done a very little amount of investigation so far.

I’ve confirmed so far that my suspicious links that are showing zero clicks exist in the table, and the count is zero. That’s so unlikely as to be almost impossible. So why aren’t the clicks accumulating? Other links within the same topic and post are accumulating fine … (or perhaps its an intermittent issue so the counts are lower than they should be?)

Try it yourself in Data Explorer for suspicious links with no counter:

(the topic id is in the URL, naturally)

SELECT * from topic_links where topic_id = <your affected topic id>

Next, I clicked on the suspicious link whilst impersonating a user, logged out, logged back in as admin and then ran the query again. Still zero.

So this isolates it to the point of input perhaps? Perhaps in the code behind the click action … or a data issue? But the data looks very like the data for the links that accumulate clicks. Except for the count …

I checked to see if the ID was unique (and presumably the id is a primary key in any case, but I checked anyway in case the wrong record is being updated) … it’s unique.

Am I missing something here?

2 Likes