It seems that is has to do with the Change in #11217
I tested local on a customer page and got a 404 on the Home Item (Featured Articles)
I could not reproduce the issue on a clean install, but disabling the pagebreak plugin showed the page like expected.
Seems something in the check is wrong
if (StringHelper::strpos($row->text, 'class="system-pagebreak') === false) { if ($page > 0) { throw new Exception(JText::_('JERROR_PAGE_NOT_FOUND'), 404); } return true; }
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | com_content com_plugins |
Labels |
Removed:
?
|
Status | New | ⇒ | Discussion |
@coolcat-creations it has nothing todo with featured articles can you confirm that on that page a news flash module is published?
@rdeutz here is how to reproduce:
news flash
module to the category Joomla!
(using sample data)Looks like some other things are broken now too.
https://github.com/joomla/joomla-cms/blob/3.7.3-rc1/modules/mod_articles_news/helper.php#L124
Because $page is set to 1
and no page break is included this throws the error. But i don't know what the $page var is supposed to do?
Disableling the pagebreak plugin fixes the issue. To me this is a release-blocker as it breaks existing sites.
I guess because it was set with page 1 on the other events, like onContentAfterTitle, which existed already.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-25 18:56:32 |
Closed_By | ⇒ | zero-24 |
I am new to github, but have a problem with pagebreak since Joomla 3.7.3 that may be related to the above discussion.
I am writing articles with extensive use of the pagebreak (using JCE editor). After the upgrade the browser page header shows the current page title with the page number. In the article the page title is added to the article title. Previously the browser page header only showed the article title for any page and the article title was left alone (as it should).
Any suggestions to fix this (until hopefully the Joomla team does by the next upgrade)?
Please open a new issue describing in detail how to reproduce your issue. The issue described in this issue is fixed in 3.7.3 and should not be your problem. Thanks.
This is still not fixed properly, because this breaks any pagination on Joomla articles, if no pagebreaks are used in that article. Simply go to any article page without pagebreak, and add ?limitstart=20 to the url.
We have a custom list which has pagination, and now we get a 404 but the page is just fine, since the list is paginated. After I found that it was the Page Break plugin, I've disabled it, but now I can't use page breaks. A simple switch in the plugin settings if a 404 should be thrown, would solve this nicely and would give other plugins still the use of pagination on Joomla article pages.
@conflate-nl can you please open a new Issue?
Without instructions how to reproduce it, we can't do so much. The test seems not wrong.