No Code Attached Yet
avatar djmilenko
djmilenko
29 Oct 2022

I have several sites on Joomla4, and they all have the same error with tags:

If a tag has more than 20 articles, only page 1 is displayed normally, and all others throw out an error.
One website has a fresh version of Joomla4, and the other sites are updated on Joomla4.

Php version is 7.4, and 8.0.

screen shot 2022-10-29 at 17 07 51

avatar djmilenko djmilenko - open - 29 Oct 2022
avatar djmilenko djmilenko - change - 29 Oct 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 29 Oct 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Oct 2022
avatar richard67
richard67 - comment - 30 Oct 2022

I can confirm the issue. I've reproduced on a clean, current 4.2-dev without any .htaccess and without url rewriting but with sef urls on, and Blog sample data installed.

I have created 33 copies of the "Millions" article and then used batch processing to assign the "Millions" tag to all of these copies, so I have 34 articles tagged with that tag.

Then I clicked in frontend on the tag in one of these articles to get the tagged items list view.

URL is index.php/component/tags/tag/millions.

The page looks fine and I get pagination for the tagged items list.

Clicking on the arrow button for going to the next pages results in a 404.

URL is index.php/component/tags/millions?Itemid=101&start=20.

So somehow the tag between the tags and the millions part of the URL's path gets lost when paging.

Adding that in the browser's URL field results in the correct page being shown.

So the URL has to be index.php/component/tags/tag/millions?Itemid=101&start=20.

avatar richard67 richard67 - change - 30 Oct 2022
Labels Added: Release Blocker
avatar richard67 richard67 - labeled - 30 Oct 2022
avatar wojtekxtx
wojtekxtx - comment - 30 Oct 2022

somehow the tag between the tags and the millions part of the URL's path gets lost when paging.

This is what it looks like from no-IT guy. As we all have ( solid ) IT exp, we can use IT jargon......... info regarding tag is not stored/transmitted properly; in other words USMS is a fiction here.

avatar richard67
richard67 - comment - 30 Oct 2022

Additional info: With SEF URLs switched off in global configuration, everything is fine, i.e. no 404 when paging.
URLs are index.php?option=com_tags&view=tag&id=2:millions on the first and then index.php?option=com_tags&view=tag&id=2:millions&Itemid=101&limitstart=20 on the 2nd page.

avatar wojtekxtx
wojtekxtx - comment - 30 Oct 2022

@richard67 many thanks :) You have just proven me right :)

avatar richard67
richard67 - comment - 30 Oct 2022

@wojtekxtx Your comments are not really helpful.

avatar wojtekxtx
wojtekxtx - comment - 30 Oct 2022

@wojtekxtx Your comments are not really helpful.

@richard67 They are not helpful to you. Dont speak on behalf of others please.

avatar Hackwar
Hackwar - comment - 31 Oct 2022

#39114 should fix this. Please help testing that.

avatar richard67 richard67 - change - 2 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-02 10:27:02
Closed_By richard67
avatar richard67 richard67 - close - 2 Nov 2022
avatar richard67
richard67 - comment - 2 Nov 2022

Closing as having a pull request. Please test #39114 . Thanks in advance.

avatar richard67 richard67 - change - 2 Nov 2022
Labels Removed: Release Blocker
avatar richard67 richard67 - unlabeled - 2 Nov 2022

Add a Comment

Login with GitHub to post a comment