Pagination problem

Status
Not open for further replies.

Richard Berg

Ars Legatus Legionis
43,037
Subscriptor
Page 3 of an active topic currently shows up like this:

ars-nopage3.png


I've never seen it before (including some other multi-page threads I just clicked to). Maybe it's related to caching, or maybe it only happens when the post starts a new page (40*n+1 in Ars' case)...who knows.
 

Richard Berg

Ars Legatus Legionis
43,037
Subscriptor
Ok, I've figured out the cause: the # of posts is miscounted. The topic list says there are 82, but there are actually 85 (and have been for awhile; not a caching thing). Similarly, as I watched it grow last night, the link to page 3 wasn't added until the 84th post (should've been after mine, which was the 81st).

No idea why the DB can't count correctly, or how widespread the problem might be.
 

katoth

Smack-Fu Master, in training
82
Hey All,

I am starting to investigate this and am curious to know if you are still experiencing this? There is a chance it is related to a posting issue that happened between the 3rd and 4th and that this may not actually be a bug in itself, but rather a symptom of a different bug that has already been fixed...

Please let me know if you are seeing it anywhere. I will try creating a topic and posting replies until I hit that magic one that should create the next page.
 

Aurich

Approximate Knowledge of Many Things
43,455
Ars Staff
Originally posted by katoth:
My initial testing didnt turn anything up... Is anyone aware of this still happening?


Yes, still happening as of 3/9. Ken and I saw it happen on the start of page 42 of this thread a day or so ago, but a test post seemed to knock it back on track. Now the thread has one post on page 43 that you can only reach by clicking on the last post name, the thread itself has no link to page 43 and page 43 has no page numbers at all.

If you see this before someone posts to it you'll see what I'm talking about. It would appear that it's going to happen again when it hits page 44 if things are consistent.

EDIT: Ha, Caesar posted the same thread as I was typing. -- :p --
 

katoth

Smack-Fu Master, in training
82
Hey everyone,

Thought you might like to know that I was able to track this problem down. I cant quite figure out the use case that causes it, but I did write a component that will fix it in the next release. I am going to keep an eye on this after the next release, and if you see it again after the next code release please let me know.

There are only 53 topics on this site affected and oddly I cant find any anywhere else...
 
Status
Not open for further replies.