?
Related to # 4461
avatar softforge
softforge
27 Aug 2014

Steps to reproduce the issue

With SEF URLs enabled:

  • Create a contact
  • Create a menu link to the contact
  • Set this menu link as the home page
  • Go to the home page and try and send a message

Expected result

Form to submit, email to send and thank you message to be displayed.

Actual result

Trying to send a message redirects to a 404 page like this:

http://www.domain.com/component/contact/contact

System information (as much as possible)

PHP 5.5.14 - Joomla 3.3.3

Additional comments

An observation is that the 'return' hidden field is blank which may be contributing to the problem, probably related to the router.

Google groups discussion here:

https://groups.google.com/forum/#!topic/joomla-dev-cms/-HD2grmF1AE

avatar brianteeman brianteeman - change - 27 Aug 2014
Status New Confirmed
avatar softforge softforge - open - 27 Aug 2014
avatar brianteeman brianteeman - change - 2 Sep 2014
Category SEF
avatar illovo
illovo - comment - 10 Sep 2014

Addition: Message of 404 page is "Contact not found"

avatar dneukirchen
dneukirchen - comment - 29 Sep 2014

Adding the Menu ItemId to the redirect Url in ContactControllerContact would solve this issue, but im not sure if thats the right way to go here. Is it the responsibility of a component controller or component router to add the menu itemId to redirect urls? If it is... easy fix. Com_contents ContentControllerArticle does the exaxt same thing in its getRedirectToItemAppend() override, but as I said before... it doesnt feel right. In my opinion JRouterSite should handle this situations, but it doesnt get the Menu ItemId in this particular case.

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar mbabker mbabker - change - 5 Oct 2014
Status Confirmed Closed
Rel_Number 4461
Relation Type Related to
avatar mbabker mbabker - close - 5 Oct 2014
avatar zero-24 zero-24 - close - 5 Oct 2014
avatar mbabker mbabker - change - 5 Oct 2014
Closed_Date 0000-00-00 00:00:00 2014-10-05 13:53:05
avatar mbabker
mbabker - comment - 5 Oct 2014

See PR at #4461

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

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment