Tags router: do not force incorrect Itemid#40448
Conversation
|
While I agree with this change, this is differing from the behavior all other core components have. |
Perhaps but then again com_tags is not the same as any other component |
Maybe have to unset Itemid somewhere? but I cannot find how other component doing it I found that other components doing it joomla-cms/libraries/src/Component/Router/Rules/MenuRules.php Lines 165 to 170 in 1e7527b But cannot find how it processed further |
|
The other components are doing it the way it is now. That is why I'm saying this. And com_tags is crap, but it is otherwise the same as all other core components. |
|
I have tested this item ✅ successfully on e8e8af8 https://bugsfun.jdayusa.com/site6/index.php/de/component/tags/tag/testd?Itemid=101 After Patch https://bugsfun.jdayusa.com/site6/index.php/de/component/tags/tag/testd This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
@Hackwar What do you think if I just do |
|
I have tested this item ✅ successfully on e8e8af8 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
Hi I have similar issue. Wrong tab links after migration To follow my issue Site Joomla 3.2.9 (PHP 8) - Site test (come from a backup) the tag link alias is I take Same Site after migraion to Joomla 4.3.0 (Live Site Migration Done yesterday, PHP 8.1) Same Site (Test) migrate to Joomla 4.3.0 but with your Batch (PHP 8 site Test) the tag link alias is now Thanks for your support Bertrand This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
/fr/tags-pays/france was be the good link This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
@tramber91 Are you sure that you have applied the changes from this patch correctly? Have you also removed the code at the top, lines 130 to 138, the complete if block with the comment telling it goes to the home page? See first red block in the diff: |
|
Yes, I have removed the block and replace the 2 lines This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40448. |
|
Then there is maybe something else wrong on your site. |
|
Thanks, If you have an idea where to search? |
|
I applied the patch. |
|
I have confirmed the problem @tramber91 reported. Thank you for reporting! |
|
Please test #40455, it redo of this PR with fixing for Pagination @tramber91 If I not mistaken, your issue related to changes betwen 3 and 4 versions of Joomla. |
|
I could reproduce the issue of the changing links, but not the issue with the broken links (this afternoon i was sure i had a broken link) |
|
@tramber91 please test changes from another PR #40460 |
|
Did the test but same issue (Not working on my side) same link (see below after the batch) should be (like in Joomla version 4.2) I add/Change new codes in initial Router.php file (4.3.0) i also did the test with SEF diseable the router not found the menu id 2622 (Menu Tags: All tags parent Id Countries (Pays)) I did also the test including previous batch modification. Same think but without the ?Itemid=106 |
|
@tramber91 Could you add your last comment to the pull request #40460 instead of this closed issue? Thanks in advance. |


Pull Request for Issue #40442 .
Summary of Changes
Do not force Itemid when menu not found
Testing Instructions
Please follow #40442
Link to documentations
Please select: