Bug Conversation page/post count bug

  • Thread starter Thread starter Ibix
  • Start date Start date
Click For Summary
A user experienced a bug in a conversation where their post was not visible despite the conversation summary indicating it was the most recent. The reply count was inconsistent, showing one less than expected, and the usual page navigation tools only appeared after adding another reply. The issue may stem from a slow connection leading to a double post, which could have caused discrepancies in post numbers. Forums typically store reply counts in the database for performance reasons, leading to potential inconsistencies if posting errors occur. A suggested workaround is to manually add "/page-2" to the URL to access hidden posts.
Ibix
Science Advisor
Insights Author
Messages
13,456
Reaction score
16,056
I posted in a conversation this morning and couldn't see it.

The conversation reported 24 replies, which matched what was visible (OP+24 replies). However, the conversation summary reported that the most recent post was by me at 6.36am, but the most recent visible post was by the other guy in the conversation about an hour earlier - the post to which I responded. There was no "page 2" indicator.

Adding another reply made the usual page navigation tools appear and the "missing" post is now visible as the first post on page two, but the reply count is still one too low. Presumably a similar issue will arise when we start page three.

Possibly relevant: due to a slow connection I accidentally double-posted in the thread, then edited the second copy to a "please ignore" message. They do appear to have distinct post numbers, but it's the only "odd" thing thing I can think of.
 
Physics news on Phys.org
It's a problem basically all forums have. Calculating the number of replies from the replies every time would generate too much load so that number is stored in the database. If the number becomes inconsistent (typically because something goes wrong with posting) then the wrong value might stick around for a while. What might work if one reply is on the hidden second page: Add "/page-2" to the URL manually.
Often forums re-calculate things if something is deleted, but that is difficult with conversation messages.
 
Thanks @mfb. It doesn't seem to be recalculating at all (it's still one short), but I'll remember the workaround if we get to the next page.
 
Hello everyone, I recently revisited Physics Forums after a long hiatus (about 4-5 years) and started catching up on the recent discussions. What immediately struck me—and what inspired this thread—is seeing so many of the exact same user names in the "Latest Posts" section who were just as active when I was last here! To the dedicated, long-term, and continuously active members of this community: What keeps you coming back and contributing regularly after all this time? Is it the joy...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 183 ·
7
Replies
183
Views
80K
  • · Replies 10 ·
Replies
10
Views
9K
  • Sticky
  • · Replies 2 ·
Replies
2
Views
503K
  • · Replies 31 ·
2
Replies
31
Views
6K
  • · Replies 0 ·
Replies
0
Views
2K