? bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
1 Aug 2023

Summary of Changes

parent_id query var is not stripped for the same view=tags menu item

Testing Instructions

  1. Create a menu item of 'Tags > List All Tags' type, select 'Root' in 'Parent_tag'.
  2. Ensure that you have any tags and tagged articles.
  3. Enable 'Show Tags' in any article menu item, click tag to access tag-specific page (option=com_tags&view=tag)
  4. Ensure that you have breadcrumbs displayed, see the menu item from p.1 with extra parent_id query params like https://site.com/tags?parent_id=1

Actual result BEFORE applying this Pull Request

Useless parent_id query var exists in the URL.

Expected result AFTER applying this Pull Request

parent_id query var is stripped if the menu item has the same parent_id

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 1 Aug 2023
Category com_tags Front End
avatar Denitz Denitz - open - 1 Aug 2023
avatar Denitz Denitz - change - 1 Aug 2023
Status New Pending
avatar ceford ceford - test_item - 25 Sep 2023 - Tested successfully
avatar ceford
ceford - comment - 25 Sep 2023

I have tested this item ✅ successfully on da700a0

I tested in 5.0.0-beta3-dev but I think the result is good for 4.x. Tricky to follow the instructions - made my head spin. Any way, in my two menu items with the patch applied I see http://localhost/joomla-cms5/index.php/test-41926 for a List All Tags menu item type and http://localhost/joomla-cms5/index.php/article-test-41296 for a Single article menu item type. Without the patch the first is http://localhost/joomla-cms5/index.php/test-41926?parent_id=1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41296.
avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 4.4-dev.

avatar Denitz Denitz - change - 3 Oct 2023
Title
com_tags extra parent_id query var
[4.4] com_tags extra parent_id query var
avatar Denitz Denitz - edited - 3 Oct 2023
avatar Quy Quy - test_item - 30 Oct 2023 - Tested successfully
avatar Quy
Quy - comment - 30 Oct 2023

I have tested this item ✅ successfully on da700a0


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

avatar Quy Quy - change - 30 Oct 2023
Status Pending Ready to Commit
Labels Added: bug PR-4.4-dev
avatar Quy
Quy - comment - 30 Oct 2023

RTC


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

avatar Quy Quy - change - 31 Oct 2023
Labels Added: ?
avatar laoneo laoneo - change - 31 Oct 2023
Labels Added: ?
Removed: ?
avatar Quy Quy - change - 2 Nov 2023
Labels Added: ?
Removed: ?
avatar Quy Quy - change - 3 Nov 2023
Labels Added: ?
Removed: ?
avatar MacJoom MacJoom - change - 3 Nov 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-11-03 15:28:43
Closed_By MacJoom
Labels Added: ?
Removed: ?
avatar MacJoom MacJoom - close - 3 Nov 2023
avatar MacJoom MacJoom - merge - 3 Nov 2023

Add a Comment

Login with GitHub to post a comment