User Conversations
posted by setec_astronomy on Tue 16th Dec 2008 10:39
This is my second attempt to get a verification whether this behaviour is a bug or a feature (previous attempt was here:
http://osnews.com/conversation/48f48bd1/Bug_flat_comment_view
)
If I try to read the last page of comments for the story
"Does Windows Need a Linux Package Manager?"
with my usual settings (10 comments per page, flat, oldest first),
then the url looks something like this
http://osnews.com/comments/20648?view=flat&threshold=0&sort=comment...
for the (as of this writing) 94 comments. For 93 comments, the offset read 97, I guess we can say that there is a pattern.
The result is, that the 10th comment page contains only a fraction of comments, due to the strange offset. If I manually change the offset to 90, everything works as expected.
Question: Why is the offset set to 96 and not 90?
(The problem occurs only when comments approach 100, I have so far not tried different numbers of comments per page to p
posted by setec_astronomy on Tue 14th Oct 2008 12:08
Example: Url to access comment page 10 when exactly 100 comments were filed:
http://osnews.com/comments/20381?view=flat&threshold=0&sort=comment...
Obviously, the correct offset should be 90. Moreover, for situations with a total number of lets say 98 comments, the URL string reads like
http://osnews.com/comments/20381?view=flat&threshold=0&sort=comment...
, e.g. the calculation of the offset yields sometimes bogus results, probably depending on the total number of comments.
(Bug is reproducible with epiphany, arora and firefox under arch linux)
Thanks in advance


0 