Install Joomla 4 beta 6
Create an article called test, make it featured so it shows up on the home page.
Save that article to create it.
Edit that article, then in TinyMCE go to CMS Content -> Article and select the same "test" article. save the article.
Go to the frontend and see this
(ok I added an image too - you don't need that)
Click test (next to the image in my screenshot)
Breadcrumbs of
Home / Uncategorised / test
Home / ROOT / Uncategorised / test
(url is http://0.0.0.0/index.php?view=article&id=1:test&catid=2)
Labels |
Added:
?
|
How strange.
I have just deleted everything and started from scratch.
I get the same. ROOT is in the breadcrumb.
PHP 8.x to be sure.
Yes, confirmed. I had tested in php 7.6 and have the same issue as you with php8
Labels |
Added:
?
|
The problem is here: https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_content/src/View/Article/HtmlView.php#L304-L309 I think, sadly I have currently no PHP 8 to confirm, so probably @chmst could you check if the "if" statement is broken in PHP 8 (or why "ROOT" is not excluded with $category->id > 1
?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-13 13:08:09 |
Closed_By | ⇒ | richard67 |
Seems that this is your localhost. On windows and online, breadcrumbs are comme il faut.
Url: index.php?view=article&id=1&catid=2
Or do you have special settings? This is a new installation without any configuration.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31925.