# Tags become unusable if used once and then topic is deleted

**URL:** <https://meta.discourse.org/t/tags-become-unusable-if-used-once-and-then-topic-is-deleted/48401>\
**Category:** Bug\
**Created:** [Agosto 9, 2016, 4:59pm UTC](https://meta.discourse.org/t/tags-become-unusable-if-used-once-and-then-topic-is-deleted/48401 "2016-08-09T16:59:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**Post date:** [Agosto 9, 2016, 4:59pm UTC](https://meta.discourse.org/t/tags-become-unusable-if-used-once-and-then-topic-is-deleted/48401/1 "2016-08-09T16:59:20Z")

</div>

I have successfully set up Tag Groups on my Discourse but in doing so ran into some weird issues which I mentioned [here](https://meta.discourse.org/t/tags-category-restrictions-tag-groups-relationships/48260/6).

At the time I couldn’t figure out what was going on, but since playing with Tags and investigating I can successfully recreate the issue.

If you create a topic, add tags but then delete that topic before anyone else has used any of the tags, those tags become unusable site wide.

I can confirm this applies to any topic and any tag for any user.

This isn’t so much a problem if you lock down tag creation and create a topic in the Staff section to list your usable tags on, but it’s obviously a bug that will need fixing. The only solution I’ve found is to destroy those Tags using the Rails console. They then become selectable again.

---

_[View the full topic](https://meta.discourse.org/t/tags-become-unusable-if-used-once-and-then-topic-is-deleted/48401)._
