No Code Attached Yet ?
avatar chmst
chmst
2 Nov 2022

Steps to reproduce the issue

Make a menu entry type "Compact List of Tagged Items".
With a tag where no articles or other items are tagged with.

In frontend, click the link.

Expected result

User friendly Information: no items found

Actual result

404 - tag not found.

From the technical point of view the message is correct. For the user it is not.

JROOT\components\com_tags\src\Model\TagModel.php:313

System information (as much as possible)

Additional comments

#39113

avatar chmst chmst - open - 2 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Nov 2022
avatar chmst chmst - change - 2 Nov 2022
Title
Error page when no tags no items found in "Compact List of Tagged Items"
Error page when no items found in "Compact List of Tagged Items"
avatar chmst chmst - edited - 2 Nov 2022
avatar chmst chmst - change - 2 Nov 2022
The description was changed
avatar chmst chmst - edited - 2 Nov 2022
avatar chmst chmst - change - 3 Nov 2022
Labels Added: ?
avatar chmst chmst - labeled - 3 Nov 2022
avatar chmst chmst - change - 3 Nov 2022
The description was changed
avatar chmst chmst - edited - 3 Nov 2022
avatar Hackwar
Hackwar - comment - 5 Nov 2022

I tried this and I can't replicate it on a current 4.3-dev. Can you check this again? The code you mentioned is actually not there to load the content items, but the (list of) tag(s) to use in this menu item. When I tested this, it worked fine. Maybe you had the tag unpublished?

avatar chmst
chmst - comment - 5 Nov 2022

I don't remember but after a new test - yes. The 404 appears when the tag is not published.

avatar Hackwar Hackwar - change - 5 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-05 22:23:46
Closed_By Hackwar
avatar Hackwar Hackwar - close - 5 Nov 2022
avatar Hackwar
Hackwar - comment - 5 Nov 2022

That would then indeed be the right behavior. We do the same when an article is unpublished in a menu item. Therefor I would close this issue for now.

avatar chmst
chmst - comment - 5 Nov 2022

I will open a new issue. From a users point of view and this message is technically correct but not user friendly and forums are full with questions.

Add a Comment

Login with GitHub to post a comment