install "Learn Joomla English (GB) Sample Data"
Configuration: SEF ON with Modern Router + Remove IDs from URLs = YES
Disable the menu item "Site Map"
Select "Archived Articles" then select the "Uncategorised" link category
404 is generated for
http://localhost/384RC/index.php/component/content/category/uncategorised
no error
1 | () | JROOT\libraries\legacy\error\error.php:200
2 | JError::raise() | JROOT\libraries\legacy\error\error.php:277
3 | JError::raiseError() | JROOT\libraries\src\MVC\View\CategoryView.php:133
4 | Joomla\CMS\MVC\View\CategoryView->commonCategoryDisplay() | JROOT\components\com_content\views\category\view.html.php:72
5 | ContentViewCategory->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:672
6 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT\components\com_content\controller.php:113
7 | ContentController->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:710
8 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\components\com_content\content.php:43
9 | require_once() | JROOT\libraries\src\Component\ComponentHelper.php:382
10 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT\libraries\src\Component\ComponentHelper.php:357
11 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\SiteApplication.php:194
12 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT\libraries\src\Application\SiteApplication.php:233
13 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:303
14 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\index.php:49
3.8.4RC with PHP 5.4.34 and 7.1
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | com_content Router / SEF |
@franz-wohlkoenig, I've not tested with multilingual. What you have is the expected behaviour e.g http://localhost/384RC/index.php/site-map/articles/uncategorised
After unpublishing the "Site Map" menu item, on page reload the "Archived Articles" is becoming
http://localhost/384RC/index.php/using-joomla/extensions/components/content-component/archived-articles, then the "Uncategorised" link is broken.
@jsubri i had unpublished Menu "Site Map" in Comment. url i got http://localhost:8888/3/index.php/en/allcategories-en-gb/uncategorised
.
@infograf768, I've tested the 2 PR referenced before posting. They do not fix this issue.
Looks like the URL is component based while there is a valid menu item. The title might be a bit misleading, shall be: " 404 category not found after selecting archived articles
I retested once again with the 4 steps provided and still hitting the problem.
@franz-wohlkoenig, I've not tested yet this issue with Multilanguage.
I've tested the 2 PR referenced before posting.
If you have and they solve the problems they target (even if it is not yours), please mark them as successful.
I confirm this issue (Modern Routing + Remove IDs) and the solution is at #19280.
@franz-wohlkoenig If you unpublish allcategories-en-gb
menu item then you should see the problem.
Joomla before 3.8.4-dev did not build such links too often, but the problem exists from 3.8.0.
The difference is that previously you was directed to the wrong page (in above example this is the main page), but now you get error 404. Test with index.php/en/component/content/archive?year=2018&month=1
@jsubri already tested it and one more test is required.
Closed_Date | 2018-01-22 16:11:06 | ⇒ | 2018-01-22 16:11:07 |
Closed_By | Quy | ⇒ | joomla-cms-bot |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-22 16:11:06 |
Closed_By | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/19430
Solved as stated in (#19280 (comment)).
Can't confirm, got: