? Pending

User tests: Successful: Unsuccessful:

avatar kanich
kanich
3 Dec 2017

[#18964] - Tag filter in blog category with pagination selects wrong page on start of new user session

The wrong page selection appears by very specific conditions for anonymous users when they have not yet assigned user session. Direct request to second or any later page for blog category opens each time first page of given blog category.

Especially annoying is this bug in case when is used page caching and external crawlers visit the site without keeping session variables. Then in some time are all pages of blog category filled by first page content.
Steps to reproduce the issue

Create category e.g. 'News'
Create tag e.g. 'Science'
Create 4 articles for category 'News' with tag 'Science'
Create new menu item 'Science' for blog category 'News' with assigned tag 'Science' and 2 articles in 1 column per page
Disable any Joomla caching (global as well as page one).
Now on frontend are available for menu item 'Science' two pages (each with 2 articles and pagination buttons), select second page (with start=2) and assign it as bookmark in the browser. In browser assign blank page as initial page, delete all cookies for given site and close browser.
Open browser, click on prepared link for the second page of 'Science'.

Expected result

response is SECOND page of tagged blog category with pagination having more pages
Actual result

response is FIRST page of tagged blog category with pagination having more pages
Additional comments

Solution for issue #17711 #17711 is good but it did not cover solution for described bug.

avatar kanich kanich - open - 3 Dec 2017
avatar kanich kanich - change - 3 Dec 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2017
Category Front End com_content
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Dec 2017
Title
Tag filter in blog category with pagination selects wrong page on start of new user session - issue [#18964]
Tag filter in blog category with pagination selects wrong page on start of new user session
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2017
Title
Tag filter in blog category with pagination selects wrong page on start of new user session
[#18964] Tag filter in blog category with pagination selects wrong page on start of new user session
avatar joomla-cms-bot joomla-cms-bot - edited - 3 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Dec 2017
Category Front End com_content com_content com_tags Front End
avatar joomla-cms-bot joomla-cms-bot - edited - 3 Dec 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2017
Category Front End com_content com_tags Front End com_content
avatar rpbikker rpbikker - test_item - 3 Dec 2017 - Tested successfully
avatar rpbikker
rpbikker - comment - 3 Dec 2017

I have tested this item successfully on c0f201e

I can confirm issue #18964 and that this PR apparently solves it.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18965.

avatar ladyjer ladyjer - test_item - 4 Dec 2017 - Tested successfully
avatar ladyjer
ladyjer - comment - 4 Dec 2017

I have tested this item successfully on c0f201e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18965.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Dec 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Dec 2017

Ready to Commit after two successful tests.

Thanks for Tests.

avatar mbabker mbabker - close - 5 Dec 2017
avatar mbabker mbabker - merge - 5 Dec 2017
avatar mbabker mbabker - change - 5 Dec 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-12-05 14:06:25
Closed_By mbabker
Labels Added: ?

Add a Comment

Login with GitHub to post a comment