"None" tag is uneditable

AI-generated summary

A user, Heather_Dudley, reported that users accidentally created a tag named “none”, which conflicts with the system’s special URL for topics without tags, making it impossible to edit or delete. She suggested disallowing “none” as a tag name since it’s redundant and pointless. jomaxro acknowledged the bug, noting it’s surprising it hadn’t been reported before, and offered to remove the tag manually for her hosted site. Heather_Dudley accepted the offer, confirming the tag was unnecessary and only appeared on a few posts. jomaxro confirmed the tag was removed from her site and kept the issue open to address the root cause. Later, techAPJ confirmed the bug was fixed in Discourse core via a commit, thanking Heather_Dudley for reporting it. The fix prevents future creation of “none” as a tag, resolving the conflict with the system’s no-tag filter URL.

Somehow my users have created the tag “none”.

The problem is, the name for this tag is the same as the URL for the URL for no tags.

So I can’t actually remove or rename it, because clicking the tag takes me to the filter for no tags

This one’s a pointless tag anyway, so should be disallowed as a created tag.

Also, how the heck do I remove this one?

5 Likes

That’s unexpected, I’m surprised we haven’t seen reports of this before. We certainly shouldn’t allow creation of none tags as you’re correct, none is used for the special case of topics without a single tag. cc @neil

In your specific case (a hosted customer) we can remove the tag for you. Would you like us to do so?

8 Likes

That would be spectacular. There’s no need to have the tag (because it literally means no tag which is redundant) and is only on a few posts anyway.

2 Likes

Alright, I’ve fixed the issue specific to your site. Will keep this open to fix the underlying issue.

8 Likes

Fixed via:

https://github.com/discourse/discourse/commit/5462fe9462cb2f022b0ccd80dc1e3708eac61846

Thanks for reporting this issue @Heather_Dudley. :+1:

4 Likes