a bug with the forum and pages

2 messages, 1 pages:  1 ↖ Go back to topic list

Score: +1

1. Nikola,

Hello,
this bug existed for a long time, but now it got a little worse, so I wanted to report it.

If you open the English recent topics page at https://qcsalon.net/en/forum1000000
the topic right next to updates and work in progress is Translation errors and typos.
This topic has 119 messages. Now, try clicking on the link 04.02.2022 17:24 (the date of the most recent message), in order to open the last page of the topic.
You will get a 500 error and nothing will open.

Previously, doing this would open a completely empty page with no posts, but you could at least click on the last page link and get to the last page, hence why I said the bug has gotten worse.

There are 2 reasons this is happening and 2 situations where this bug shows itself:

  1. In this particular case, one message was deleted from the topic, so the site thinks there are 120 messages when in fact there are 119 and it is trying to open page 5, which doesn't exist yet. However, this is also incorrect even if the message was not deleted, because…
  2. If a topic has a full page (30 messages, 60 messages, 90 messages…), the website is trying to open a page which doesn't exist yet when you click on the date of the last post. For example, with 120 messages it tries opening page 5 when the topic in reality has only 4 pages, with 90 messages page 4, and so on...

Could you please change this logic so that a page is opened only if it really exists and not if the previous page is full while a next page doesn't even exist yet, as well as take deleted messages into account and display the real last page of the topic when clicking on the date of the last post?

Thanks.

Score: +2

2. Aminiel,

Hello,

This should be fixed now. Thank you for signaling.

Score: +2

2 messages, 1 pages:  1 ↖ Go back to topic list

Answer to topic

You must be connected in order to be allowed to post

Lost password ? Create account