Discourse 1.6 tagging issues

AI-generated summary

In the Discourse 1.6 bug thread regarding tagging issues, junaid_pk14 reported a problem where filtering by a category and then a tag group resulted in empty listings. Specifically, selecting ‘Manufacturer’, then ‘Honda Cars’ (a tag group), and finally the tag ‘City’ generated a URL that failed to display topics, whereas direct tag selection worked correctly. codinghorror suggested upgrading to the 1.7 beta for heavy tag usage, while neil initially questioned how a tag group could be selected as a filter. junaid_pk14 provided a test site to reproduce two cases: one where the filter URL was incorrect and another where changing the category filter left the tag filter in the URL. neil identified the root cause as the tag filter persisting in the URL when the category filter is changed, and confirmed he would investigate. The issue was subsequently resolved, with neil stating he fixed the bug that day.

Hello,

We want to follow below structure in our discourse deployment. Currently we running it locally.
Parent cat → Child cat → tags

New tagging changes in Discourse 1.6 are very good except the case we encountered. Assume we have 2 categories ‘Manufacturer’ & ‘Honda’ with Group tags(honda, suzuki, corrola). Categories are configured as ‘Manufacturer’->‘Honda’ and ‘Honda’ category can use tag group ‘Honda Cars’. ‘Honda Cars’ group has following tags (Honda, City, Civic, Fit). I add a topic in ‘Honda’ category with tag ‘City’. Now from main landing page i first select ‘Manufacturer’, then select ‘Honda Cars’ and then select tag ‘City’ and it make url like this http://www.myforum.com/tags/c/manufacturer/honda-cars/city and don’t show any topic in listing. Even if i change parent category ‘Staff’ from first drop-down then it build url http://www.myforum.com/tags/c/staff/city. Am i missing any configuration or these are the issue with tagging system? Can you help me to fix this issue?

If i directly select tag ‘City’ from landing page without selecting any category(www.myforum.com) then it make url ‘http://www.myforum.com/tags/city’ and show topic in listing.

Regards,
Junaid

You may need to upgrade to 1.7 beta if you are using tags and tag groups heavily, any other comments @neil?

I don’t follow how you selected “Honda Cars” (a tag group) as part of your filter, since that isn’t possible. Can I look at the site where this is happening?

Thanks for reply @codinghorror, I think 1.7 date is far though i will try it.

Hello @neil,

I have setup test site to try this case. Credentials are given below. There are 2 cases given below, case 1 in production mode is working fine for me now while it didn’t work for me on local. Case 2 still exist and you can try it. Thanks

Case 1 : Now from main landing page i first select ‘Manufacturer’, then select ‘Honda Cars’ and then select tag ‘City’ and it make url like this http://www.myforum.com/tags/c/manufacturer/honda-cars/city1 and don’t show any topic in listing.

Case 2 : If i change parent category ‘Staff’ from first drop-down then it build url http://www.myforum.com/tags/c/staff/city.

URL : http://dctest.pakgari.com:90
username : junaid@test.com
password : pakboard123

Regards,
Junaid

1 curtida

Ok I see the issue.

  1. Filter by categories and tag.

  1. Change category filter. Tag filter remains in the url.

I’ll look into it.

4 curtidas

Thank you very much @neil.

Regards,
Junaid

@junaid_pk14 I fixed this bug today.

5 curtidas