Off by one error in "page viewed" of threads

Off by one error in "page viewed" of threads

in Forum and Website Bugs

Posted by: Creslin.1758

Creslin.1758

I believe there is an error that will direct your browser to an empty page if the current page has the maximum number of posts in it. For example, if “page 1” is completely full, but “page 2” is empty, my browser will direct me to page 2 of the thread, which is completely empty, and since there is no clickable link to go to page 1, it appears that it is broken.

I can manually resolve this by specifying page 1 in the address bar. It seems like there is an “off by one” error in how the forum counts posts in a page…maybe you’re counting from 1 when you should be counting from zero or something?

Magaera Enflanza (F Human D/D Ele)
[Envy], [Moon]

Off by one error in "page viewed" of threads

in Forum and Website Bugs

Posted by: ChairGraveyard.2967

ChairGraveyard.2967

Just came to post this same thing.

Specifically, it seems to be miscalculating the number of pages in the thread.

As an example, here’s the link it gives after posting a reply to this thread:
https://forum-en.gw2archive.eu/forum/game/gw2/Change-in-loot-parameters-or-a-bug-Merged/page/12#post922605

The post only has 11 pages, not 12, and post 922605 is at the end of page 11, not on page 12.

So the correct link should be:

https://forum-en.gw2archive.eu/forum/game/gw2/Change-in-loot-parameters-or-a-bug-Merged/page/11#post922605