?
avatar webgras
webgras
25 May 2020

Steps to reproduce the issue

For com_contact enable modern routing:
grafik
Create contact categories with subcategories like:

  • Category 1
    -- Subcategory 1
    grafik

Add a contact (just with email-address) to "Subcategory 1"
Create a menu item "List all Contact Categories" or "List contacts in a category"
Chose category "Category 1"
grafik

Go to homepage, select menu "Contacts", open contact form, try to send email through form.

Expected result

Email message sent
Show contact again

Actual result

Email message is sent (in the background)
websites gives you "404 invalid URL"

System information (as much as possible)

Joomla 3.9.18
PHP 7.3

Additional comments

With routing in "legacy" mode, it works.

avatar webgras webgras - open - 25 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 May 2020
avatar webgras
webgras - comment - 25 May 2020

Thanks @Hackwar - he helped to find the problem:
components/com_contact/controllers/contact.php
Line 181
category ID is missing, so after sending the redirect to the contact is not working.

avatar infograf768
infograf768 - comment - 25 May 2020

can you propose a PR?

avatar Quy
Quy - comment - 26 May 2020

Closing per PR #29234

avatar Quy Quy - close - 26 May 2020
avatar Quy Quy - change - 26 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-26 21:13:27
Closed_By Quy

Add a Comment

Login with GitHub to post a comment