Fixed Post number in thread oddity/bug.


Active member
I haven't been able to re-create this at all and have no idea why it might be occurring, but it appears that in some circumstances two consecutive posts in a single thread can end up with the same post in thread number. (By post in thread number I mean the number in the bottom right that is intended to permalink to the post, not the post id.)

Since I don't know how this can be recreated here is the original report made on the forum where the issue is being seen:

In the counting down from 123456 thread:

In the past day on at least two occasions consecutive posts by different posters have been given the same thread post number. See:
Both given thread post number 13455.
Both given thread post number 13589.

Obviously the links are different and show that they are different posts but in the thread they show as the same post number.


Active member
It looks to me as if they were posted at the exact same time and when it checked the last post both post drew the same next number in line.


Active member
the position field is based on the reply count of the thread at time of writing to the db, with two concurrent requests it picked the same value for both.