No Code Attached Yet
avatar GabyEdit4U
GabyEdit4U
5 Aug 2022

Steps to reproduce the issue

  1. Create a tag with a space in the name.
  2. Create subtags of this tag, with or without spaces. This doesn't matter.
  3. It should look something like this:

Tag tree

  1. Create an article in the administrator (in com_content).
  2. Type the full name of the parent tag in the Tags field to search for the sub-tags it has.

Expected result

It should show the parent tag AND the child tags.

Actual result

  1. When you first start typing, it shows all the tags like it's supposed to.
    First result

  2. Once you type out the full parent tag name and the tag list refreshes, only the parent tag shows up and the child tags disappear.
    Second result

System information (as much as possible)

This happens on any system, but here's my browser specs:

Chrome version 104.0.5112.80

Additional comments

This issue has been reported by one of our customers. She has experienced this since at least May 2022 (so for several Joomla 3 versions), but it could've existed earlier. I was able to reproduce her issue on several different PCs and browsers.

avatar GabyEdit4U GabyEdit4U - open - 5 Aug 2022
avatar GabyEdit4U GabyEdit4U - change - 5 Aug 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Aug 2022
avatar Fedik
Fedik - comment - 5 Aug 2022

Once you type out the full parent tag name and the tag list refreshes, only the parent tag shows up and the child tags disappear.

I think it is expected, because search work for a tag title, not for any parent, but for the tag name itself.
We display the parents in drop down just for "visual siplicity", so you know wich exatly tag tree you selected.

avatar chmst
chmst - comment - 9 Aug 2022

@GabyEdit4U Which behaviour would you expect here? I agree with @Fedik that this is "normal" behaviour.

avatar Quy Quy - change - 9 Aug 2022
Labels Added: Information Required
avatar Quy Quy - labeled - 9 Aug 2022
avatar GabyEdit4U
GabyEdit4U - comment - 15 Aug 2022

@Fedik @chmst Sorry for my late reply, I was unavailable due to vacation last week.

In point 1 of the first result you can see that when you start with typing the parent tag (in this case "Test"), it will actually show all the results that have "Test Tag" as the parent tag. Only when you type in the space and the list refreshes (or type out the full Test Tag name for that matter as described in point 2 for simplicity), is when the results disappear.

The behaviour is currently irregular as you are able to see the child tags for parent tag "Test Tag" as long as you only type the first portion of the tag.

avatar Quy Quy - change - 15 Aug 2022
Labels Removed: Information Required
avatar Quy Quy - unlabeled - 15 Aug 2022
avatar brianteeman
brianteeman - comment - 26 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar morphinestyle
morphinestyle - comment - 4 Oct 2022

@brianteeman this bug is still present in J4.2.2: in article editing i can't assign tags with spaces from several J4 versions. F.I: RED APPLE can't be added to article.

avatar chmst
chmst - comment - 5 Oct 2022

I cannot replicate in J4 - see example, all tags are added in editing an article.
grafik
As @brianteeman says .. open a new issue for J4.

avatar morphinestyle
morphinestyle - comment - 6 Oct 2022

I can't replicate on a new website... i need to make an accurate test excluding some 3rd part extensions.
I tried with/without multi language, with without spaces, nested and not nested... I can't replicate it.

How can i get more infos when i SAVE the ARTICLE and lost the tags? Debug? Set to show all errors?

avatar morphinestyle
morphinestyle - comment - 6 Oct 2022

However i'm experiencing the issue is slightly different, not related to space between tags:
I see 5 tags on frontend, but on my article editing i see only 3 tags!

avatar morphinestyle
morphinestyle - comment - 6 Oct 2022

Yes, this is the issue: #37927
@chmst @brianteeman

avatar Fedik Fedik - close - 6 Oct 2022
avatar Fedik
Fedik - comment - 6 Oct 2022

I am clossing it, see comment #38400 (comment)
Also because it is not an issue for j4

avatar Fedik Fedik - change - 6 Oct 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-10-06 12:20:28
Closed_By Fedik

Add a Comment

Login with GitHub to post a comment