• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Post number in thread oddity/bug.

TimWF

Active member
#1
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:
http://milepoint.com/forums/threads/count-backwards-from-123-456.650/unread

In the past day on at least two occasions consecutive posts by different posters have been given the same thread post number. See:
http://milepoint.com/forums/posts/268431/
http://milepoint.com/forums/posts/268432/
Both given thread post number 13455.
And:
http://milepoint.com/forums/posts/271127/
http://milepoint.com/forums/posts/271128/
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.
 

George

Active member
#2
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.
 

Scott

Active member
#3
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.