"Required" category of a tag not showing up under "category ..." dropdown

AI-generated summary

ncaming215 reported a bug where, when composing a new topic from a tag page (e.g., /tag/tag-name), the category that requires that tag does not appear in the category dropdown—despite appearing correctly when composing from the homepage. This issue persisted even after disabling plugins and muting. Screenshots were provided to illustrate the missing category (“Lions” under NFL tag group). ncaming215 shared a public test link: thedenforum.com/tag/lions. In post 3, they confirmed the issue was resolved by disabling the discourse-tag-banners theme component, thanks to assistance from @RGJ / communiteq. The problem appears to be specific to the tag-banners component interfering with required tag-category logic in the composer.

Alright, so I’m at my wit’s end. At this point, I’m really hoping I’m missing the obvious.

Setup: I have multiple categories, and each category has a required Tag group. Easy enough, right? You’d think.

Problem: When creating a new topic from the homepage, all category options surface in the composer—as expected. Beautiful! But when you click into a tag (i.e. navigate to /tag/tag-name), and attempt to compose a new post from that page, all categories surface—except, ironically, the category that has set that particular tag among its requirements.

This has perplexed me. I thought maybe it was a muting issue, but I’ve disabled that, along with all plug-ins, and the problem persists.

Send Helps.
Admin screenshot:

Nope:

(And yes, “Lions” is in the NFL tag group)

BTW, you guys can test this for yourselves here: thedenforum.com/tag/lions

You can see ‘lions’ in the NFL tag group here: The Den

Update: the absolute geniuses at @RGJ / communiteq were able to resolve by disabling the Customization > Theme component discourse-tag-banners.

4 Likes