# Tags are wonky, a default set seems to have been assigned to each category

**URL:** <https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886>\
**Category:** Bug\
**Created:** [27 ביולי,‏ 2016,‏ 9:39pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886 "2016-07-27T21:39:17Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [27 ביולי,‏ 2016,‏ 9:39pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/1 "2016-07-27T21:39:17Z")

</div>

About two weeks ago, tags started acting a bit wonky for us.

For example, I want to tag a topic as “python”. I already have a python tag:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/9/49baa40a595c4f8e938bfd1f566692d38ce4afa5.png)

Here is what I see when I try to select the tag:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/0/604695c8401769abfa2e5be350162d3b374c2519.png)

I know I have a python tag already and it normally jumps in there when I start typing but it doesn’t now. It looks like it does when you create a new tag

 ![](https://global.discourse-cdn.com/meta/original/3X/b/9/b99e0e2fbdd9d680a50f818bf11c64031caa129a.png)

Looks promising:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/2/521fc2c9e3a0a9fdbc0a46a414a54885fc9e8348.png)

But after I click the checkbox, the new tag shows up for just a nanosecond and then disappears, no tag:  
 ![](https://global.discourse-cdn.com/meta/original/3X/b/b/bb2c73918d27a789993e1e128384f86a0b10704f.png)

There isn’t anything in the list of tags that can only be used in this category, although if I click in the field it again shows me just the wont-fix tag.

 ![](https://global.discourse-cdn.com/meta/original/3X/2/5/25a18c2c9d29eb834a85cee28ae2b8206f8f9660.png)

Just now I checked another category and found the following set of allowed tags. These are not a set of tags that anyone would have picked out for this category. I just deleted each one and clicked “Save Category” and when I come back in they are all back. The crazy thing is, it seems to let me delete one at a time, save and go back and it’s still gone, UNTIL I delete the last one, when I come back after that they have all returned.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/2/52ad9f0ad80764ef4051848db86d096ef3e2b4e5.png)

I spot checked a few more categories and they all seem to have that weird set of tags. in fact I just checked Corner Bar again and it has them now too. 👓 If I hadn’t taken the screen shot at the top of this topic I would be questioning my sanity now.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/9/19602b4154b2893d93d49c4ed71efc768224ceea.png)

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [27 ביולי,‏ 2016,‏ 11:35pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/2 "2016-07-27T23:35:03Z")

</div>

Have you updated lately? There were a few fixes around tags in the past couple of days.

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 12:32am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/3 "2016-07-28T00:32:27Z")

</div>

We’re hosted so I’m not sure where we are with updates.

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [28 ביולי,‏ 2016,‏ 12:41am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/4 "2016-07-28T00:41:57Z")

</div>

If those tags match the top used tags in your community (you should be able to tell by looking at /tags or sort by count). Then that bug was fixed in the last couple of days and I’m sure one of the Discourse Team will be glad to upgrade you.

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 12:46am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/5 "2016-07-28T00:46:17Z")

</div>

Unfortunately they don’t match:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/4/a46263488d76a5d53f1953b4233d2ec2bcb5df44.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [28 ביולי,‏ 2016,‏ 2:19am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/6 "2016-07-28T02:19:37Z")

</div>

@neil can follow up on this with you tomorrow. Lots of changes in this area recently.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [28 ביולי,‏ 2016,‏ 2:24am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/7 "2016-07-28T02:24:45Z")

</div>

A follow up since I just deployed and you were missing @neil’s changes. Can you review this bug report in light of the changes that were made?

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 2:41am UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/8 "2016-07-28T02:41:12Z")

</div>

Things have changed a bit now.

Trying to add a tag to that topic gives this now:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/e/4ee14cb68e7a0e69a96057e6c8867de68fdca577.png)

I’m seeing this when I first check edit \> tags:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/f/9f8e1352825e17fb7703afc04baef9f67411220d.png)

Then when I click into the first input box I see the following different set of tags. These ones match up with our top 5 tag in terms of usage, that wont-fix tag is not like the others.

I don’t expect to find any restricted tags in any of our categories.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/b/1b7aa153c71677a4a6d88fc602463eb3b34de055.png)

[We seem to have random tags assigned to some categories](https://discuss.codecademy.com/tags) – this wasn’t like this when I started this report.

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:01pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/9 "2016-07-28T16:01:40Z")

</div>

> [@AlbionsRefuge](#):
>
> I don’t expect to find any restricted tags in any of our categories.

You can restrict a tag to more than one category. For example, if you have two categories “Car Repair” and “Car Parts”, you could make it so a tag “transmission” can only be used in those two categories by adding them to the “Tags that can only be used” fields of both.

> [@AlbionsRefuge](#):
>
> We seem to have random tags assigned to some categories – this wasn’t like this when I started this report.

I looked through the first four sets and they all match your category settings. For example:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/0/f0deff46ca4cf8d15c713c4f4a15663f62540758.png)

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:05pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/10 "2016-07-28T16:05:01Z")

</div>

> [@neil](#):
>
> You can restrict a tag to more than one category.

I’m okay with that, but I can’t imagine any human here would have added those tags to those category’s lists. 🙂

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:13pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/11 "2016-07-28T16:13:58Z")

</div>

Oh you’re saying all those tag settings were not added by someone! Wow, this is all fallout from [a commit labeled WIP](https://github.com/discourse/discourse/commit/8fd0414cdf98f119dcc3a710dab36739af25c0af) that was putting top tags in category settings.

Should the tags be removed from all those categories’ settings? I can do that for you.

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:14pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/12 "2016-07-28T16:14:54Z")

</div>

> [@neil](#):
>
> Should the tags be removed from all those categories’ settings? I can do that for you.

Yes please, remove them all from the category’s settings! 😉

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:30pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/13 "2016-07-28T16:30:42Z")

</div>

Done. Sorry for the wonky behaviour.

---

<div class="post-metadata">

**Author:** ![AlbionsRefuge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albionsrefuge/32/116896_2.png) [@AlbionsRefuge](https://meta.discourse.org/u/AlbionsRefuge)\
**Post date:** [28 ביולי,‏ 2016,‏ 4:32pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/14 "2016-07-28T16:32:01Z")

</div>

Everything is working perfectly now, thank you!

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [28 ביולי,‏ 2016,‏ 9:46pm UTC](https://meta.discourse.org/t/tags-are-wonky-a-default-set-seems-to-have-been-assigned-to-each-category/47886/15 "2016-07-28T21:46:52Z")

</div>


