[bug] Link to "Last" page of gallery item - broken
1 Page: [ 1 ]
Reference address: http://www.animepaper.net/gallery/wallpapers/MuZ0NaZ/item41725/
Description: On this particular wall it says that there are 7 pages and clicking on the link to "Last" page takes me to the 7th page, which is blank and the page count shows only 6 pages. Weirdly, clicking on the "Last" page while being there, takes me properly to the 6th one.
Steps to reproduce:
1) Go to http://www.animepaper.net/gallery/wallpapers/MuZ0NaZ/item41725/
2) Click on Last (page).
3) ?
4) PROFIT!
Comments:
It seems like the page count is inflated only if the URL does not contain a valid page number, i.e. /gallery/.../item41725/ while .../item41725/<insert number here>/ shows proper count.
Description: On this particular wall it says that there are 7 pages and clicking on the link to "Last" page takes me to the 7th page, which is blank and the page count shows only 6 pages. Weirdly, clicking on the "Last" page while being there, takes me properly to the 6th one.
Steps to reproduce:
1) Go to http://www.animepaper.net/gallery/wallpapers/MuZ0NaZ/item41725/
2) Click on Last (page).
3) ?
4) PROFIT!
Comments:
It seems like the page count is inflated only if the URL does not contain a valid page number, i.e. /gallery/.../item41725/ while .../item41725/<insert number here>/ shows proper count.
2 years 9 months ago
Hi.. I noticed this as well. I think the pagination divides the comments by 20 or so but the actual capacity of a page is 25. So now, I do the calcs myself first before clicking on a pagenum link. Even the "Last" page link goes empty sometimes.
-Works fine for me(i mean it takes me to the 6th page when i click "Last")
-The problem you reported occurs in walls where comments have been deleted...
What i mean is:A wall gets 2 pages of comments and 1 comment on the third page,then one of the comments gets deleted by a user for "a" reason...You will then notice that there will still be 3 pages but the third one will be empty...
The same thing happens in the gallery where scans and walls get deleted...
e.g. http://www.animepaper.net/gallery/wallpapers/Death-Note/5/
Hope i helped.
-The problem you reported occurs in walls where comments have been deleted...
What i mean is:A wall gets 2 pages of comments and 1 comment on the third page,then one of the comments gets deleted by a user for "a" reason...You will then notice that there will still be 3 pages but the third one will be empty...
The same thing happens in the gallery where scans and walls get deleted...
e.g. http://www.animepaper.net/gallery/wallpapers/Death-Note/5/
Hope i helped.
2 years 9 months ago
No, there is a legitimate issue with this but its not exactly high priority given its working... just it isn't working perfectly. One extra mouse click isn't as big an issue as some other bugs at present.
1 Page: [ 1 ]






