View previous topic :: View next topic |
Author |
Message |
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2409
|
Posted: Thu Nov 03, 2022 12:27 pm Post subject: Problem when a thread is just about to turn a page |
|
|
Hello,
I've been observing recently, that when a thread is about to turn a page, when you press on the link to the last post of that thread in the forum index, it would display "No posts exist for this topic" error page. The issue resolves as soon as there is a new post to be the first on the next page and reappears again for the last post on the page.
This thread seem to suffer from the same issue: https://forums.gentoo.org/viewtopic-t-1158619.html
Regards,
Georgi |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2728 Location: Here and Away Again
|
Posted: Thu Nov 03, 2022 12:46 pm Post subject: ><)))°€ |
|
|
Teegrins!
This happens due to an issue where a post gets inserted into a topic without any text in its body (meaning it can not be seen aside from taking a deep dive into the database).
That is, the forums see the amount of posts and figures the topic needs another page, but since one or more posts is effectively invisible, there is nothing to show on the next page.
We sometimes manually remove such "phantom posts" when we bump into them, but rather than actually spend the time to fix the issue, we've been waiting for the upgrade to phpBB3.
So, a known issue, but thank you for reporting! _________________ Kindest of regardses. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2409
|
Posted: Thu Nov 03, 2022 6:19 pm Post subject: |
|
|
What about the case with the last post on the page, just before a threat turns the next page?
It produces the same result and I personally have written posts just to bypass that issue.
Is that a known issue?
Regards,
Georgi |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2728 Location: Here and Away Again
|
Posted: Thu Nov 03, 2022 6:39 pm Post subject: |
|
|
As long as I did not misunderstand, that is what I was describing.
Someone in that topic has entered a post that, due to an issue, does not actually get displayed at all, but it is still counted to the total posts of the topic.
Then, when more posts are inserted to the topic, the second page will be eventually created "too soon".
If you like, you can point out such topics and I can take a deep dive to the database and fix it manually (I think you might have had the incorrect link for the topic in your first post, since that one only has 4 posts total?). _________________ Kindest of regardses. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5094 Location: Bavaria
|
Posted: Thu Nov 03, 2022 7:22 pm Post subject: |
|
|
I have observed this behaviour when a post from a thread has been deleted (by owner of post). Now, when a thread have reached the number of posts to be in one page, it shows a next page because it counts the deleted post, but there is no post for it. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2409
|
Posted: Thu Nov 03, 2022 7:50 pm Post subject: |
|
|
Chiitoo wrote: | As long as I did not misunderstand, that is what I was describing.
Someone in that topic has entered a post that, due to an issue, does not actually get displayed at all, but it is still counted to the total posts of the topic.
Then, when more posts are inserted to the topic, the second page will be eventually created "too soon".
If you like, you can point out such topics and I can take a deep dive to the database and fix it manually (I think you might have had the incorrect link for the topic in your first post, since that one only has 4 posts total?). |
pietinger wrote: | I have observed this behaviour when a post from a thread has been deleted (by owner of post). Now, when a thread have reached the number of posts to be in one page, it shows a next page because it counts the deleted post, but there is no post for it. |
I got you, thanks for the explanation.
Regards,
Georgi |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2728 Location: Here and Away Again
|
Posted: Thu Nov 03, 2022 11:28 pm Post subject: |
|
|
pietinger wrote: | I have observed this behaviour when a post from a thread has been deleted (by owner of post). Now, when a thread have reached the number of posts to be in one page, it shows a next page because it counts the deleted post, but there is no post for it. |
I believe it should count that correctly and not show the next page then. Perhaps something we should test. _________________ Kindest of regardses. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|