To reproduce:
1. When not logged into the front end, navigate the to the category list menu item
2. Click the Register to read more... link
Joomla 3.3
PHP 5.4.26
We have patched this error in:
components\com_content\views\category\tmpl\default_articles.php
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug));
with
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid));
@hackwar is there any chance that this is an issue related to any of the recent router class improvements? Quickly checking the history of this file for the last couple of years, I don't see where this was changed. Likely, it was part of a bigger commit that isn't apparent.
Nope, this is not related to the router changes. The router changes did not touch any of this. If the category ID was missing, this is with 99.9% certainty an issue in earlier versions, too.
Thanks @nikosdion! I'll hit the close button for you ;-)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-07-26 13:28:54 |
I did find a similar Bug in Blog view.
I replaced:
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug));
with:
$returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid));
in blog_item.php
@teubernet can you add a pull request aginst staging?
If you don't know how please see here.
http://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests
Labels |
Added:
?
|
JoomlaCode issue at http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=33730