?
avatar netamity
netamity
5 Jul 2017

Steps to reproduce the issue

Use menu item of type 'Create article' in a site updated to 3.7.3 from earlier version (3.7.2 in this case)

Expected result

You are taken to the create article form

Actual result

Using menu item results in redirect to current page (with non-SEF url in this case)

System information (as much as possible)

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

Additional comments

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

avatar netamity netamity - open - 5 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Jul 2017
avatar netamity netamity - change - 5 Jul 2017
The description was changed
avatar netamity netamity - edited - 5 Jul 2017
avatar netamity netamity - change - 5 Jul 2017
The description was changed
avatar netamity netamity - edited - 5 Jul 2017
avatar netamity netamity - change - 5 Jul 2017
The description was changed
avatar netamity netamity - edited - 5 Jul 2017
avatar infograf768
infograf768 - comment - 6 Jul 2017

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.

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Jul 2017
Status New Information Required
avatar netamity
netamity - comment - 6 Jul 2017

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


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16983.
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Jul 2017

@netamity please test using Protostar.

avatar wojsmol
wojsmol - comment - 9 Jul 2017

@netamity Which line you commented?
@franz-wohlkoenig Always ask this question as a debug step in similar cases.

avatar netamity
netamity - comment - 10 Jul 2017

@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.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16983.

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Jul 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-07-10 10:00:58
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 10 Jul 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 10 Jul 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 Jul 2017

thanks for Info, @netamity. Closed as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16983.

Add a Comment

Login with GitHub to post a comment