Use menu item of type 'Create article' in a site updated to 3.7.3 from earlier version (3.7.2 in this case)
You are taken to the create article form
Using menu item results in redirect to current page (with non-SEF url in this case)
J3.7.3
SEF URLs without modrewrite
form.php view template override (but tested without)
Menu items with issue were created before 3.7.3 but refreshed with no change
Issue seems to come from a_id=0 parameter added in previous fix. Removing
$form->setKey('a_id');
from router fixes issue - components/com_contents/router.php:43
Status | New | ⇒ | Information Required |
Excuse my ignorance. What additional info can I provide. I was hoping to use the forum post assistant, but that doesn't look right when I try to paste it into this box.
I guess it's possible that this problem is unique to my site, but I can't figure out what's different about it. I've tested on my other sites and don't have this issue.
Whatever the case, it was working before the recent update. I have got around the issue by commenting out the one line from the content router (naughty, I know).
Please advise whether you think it's worth investigating or it's best to close the issue.
Andy
@netamity Which line you commented?
@franz-wohlkoenig Always ask this question as a debug step in similar cases.
@wojsmol Commented line is components/com_content/router.php line 43
$form->setKey('a_id');
@franz-wohlkoenig I uncommented the above line and switched to protostar. Works without issue. Returned to my template and issue returned. So the problem resides in my custom template, a very old warp-based template that I've heavily edited.
Concluded this is a problem just for me (I'll investigate further, but I have a fix that works for me now). Happy to close if you are.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-10 10:00:58 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16983
thanks for Info, @netamity. Closed as stated above.
I can't reproduce the issue in Protostar.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16983.