?
avatar det13
det13
3 Feb 2021

Steps to reproduce the issue

create a link to a contact or the contactlist by catagory in an article

Expected result

the details of the contact(s) are shown when the link is clicked

Actual result

an error page comes up with 'contact not found' or 'category not found'

System information (as much as possible)

joomla 4.0 beta7 and 4.0 beta6, php 7.48

Additional comments

when SEO is set to off, the links to a single contact or to the contactlist by category work as expected

avatar det13 det13 - open - 3 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Feb 2021
avatar det13 det13 - change - 3 Feb 2021
Title
contact or contactlist by category shows errorpage when SEO is on
[4.0] [PHP4.8] contact or contactlist by category shows errorpage when SEO is on
avatar det13 det13 - edited - 3 Feb 2021
avatar det13 det13 - change - 3 Feb 2021
Title
[4.0] [PHP4.8] contact or contactlist by category shows errorpage when SEO is on
[4.0] [PHP 7.4.8] contact or contactlist by category shows errorpage when SEO is on
avatar det13 det13 - edited - 3 Feb 2021
avatar drmenzelit
drmenzelit - comment - 3 Feb 2021

I can confirm.
If a menu item for contacts is present, the link in the article works also with SEO on.

avatar PhilETaylor
PhilETaylor - comment - 3 Feb 2021

Is this a linked to/duplicate of #32248 ?

avatar richard67
richard67 - comment - 4 Feb 2021

@PhilETaylor Maybe related, but I don't think duplicate, except if you can exactly reproduce for your issue what the author of this issue here mentioned in the "Additional comments" section of the description:

when SEO is set to off, the links to a single contact or to the contactlist by category work as expected

avatar det13
det13 - comment - 4 Feb 2021

I can confirm, when there is a menu entry for example a list by category, then the link in an article is working too

avatar alikon
alikon - comment - 6 Feb 2021

#32279 vs #32248 related/linked for sure ?

maybe my old bad habit,
I always add the item to a hidden menu for SEO

avatar joomdonation
joomdonation - comment - 6 Feb 2021

Yes, the two issues are linked. The error happens with all of our components (even com_content), not just contact component. It happens when:

  • No menu item created for the component.
  • And Remove IDs from URLs config option in the component config set to Yes.

From what I see, it is hard to fix this issue with the current design of our routing system. Maybe we can implement a workaround: Only attach NomenuRules rule to component router if Remove IDs from URLs config option in the component config set to No. It is not perfect, but it is better than a 404 error like we are having at the moment.

avatar joomdonation
joomdonation - comment - 6 Feb 2021

@Hackwar Could you help looking at this issue?

avatar joomdonation
joomdonation - comment - 11 Feb 2021

@csthomas made a PR long time ago to fix this issue #20979 . However, that PR is quite hard to follow.

avatar joomdonation
joomdonation - comment - 13 Mar 2021

This issue is the same with #32248, so one of the two issues should be closed.

avatar richard67 richard67 - change - 13 Mar 2021
Status New Duplicate Report
Closed_Date 0000-00-00 00:00:00 2021-03-13 17:14:20
Closed_By richard67
avatar richard67 richard67 - close - 13 Mar 2021
avatar richard67
richard67 - comment - 13 Mar 2021

Closing as duplicate report of #32248 .


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

Add a Comment

Login with GitHub to post a comment