In a version prior to Joomla 3.8.2 create a Joomla article category blog menu. The non-SEF URL format is
index.php?option=com_content&view=category&layout=blog&id=100
Upgrade to Joomla 3.8.2, edit the menu, save, and the URL format is now:
index.php?option=com_content&view=category&layout=blog&id=100&filter_tag[0]=
Editing a category menu should not alter it's URL structure
Editing a category menu alters the URL structure
Joomla 3.8.2
This happens because when editing a menu in Joomla 3.8.2, the "Tag" setting now has a value of "none" that is automatically pre-selected. When saving the menu it changes non-SEF URLs which is not desired, because why would the URL need to change if no changes were made? and it also breaks code that uses the AbstractMenu::getItems class to find those menus because now the menu format has also changed.
Labels |
Added:
?
|
Category | ⇒ | com_categories Router / SEF |
Status | New | ⇒ | Information Required |
No, but it is known issue at https://forum.joomla.org/viewtopic.php?f=706&t=956574
As mentioned in the referenced forum post, it is necessary to always remove the "none" tag selection to revert to the original URL format, but most users that edit a menu will not do this, so effectively the URL changes anytime you update the menu.
I confirm the issue on Joomla 3.8.2 both on old and new category blog menu items, both SEF and non-SEF URLs.
I'm using SEF URLs and the suggested workaround (removing NONE tag and saving) does not work for me.
Steps to reproduce
My workaround (very dirty) is replacing ?filter_tag[0]= with "" in file modules/mod_breadcrumbs/tmpl/default.php . I know it's not a breadcrumb problem, but I needed a very fast workaround.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-05 07:53:04 |
Closed_By | ⇒ | infograf768 |
My problem is not solved. If I look at breadcrumbs, wrong url is still there .
Maybe it's a different bug, let me know if it's better to open a new and detailed one.
@csthomas is one of your PR's for this Issue?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18785.