# Cannot remove the last tag from a topic

**URL:** https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473
**Category:** Bug
**Created:** [June 9, 2016, 11:42am UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473 "2016-06-09T11:42:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Knagis](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@Knagis](https://meta.discourse.org/u/Knagis)
#### Post date: [June 9, 2016, 11:42am UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473/1 "2016-06-09T11:42:46Z")

</div>

Currently running on latest and greatest from tests-passed.

I have a topic with a single tag - I can replace that tag with another, it saves correctly. However, if I remove the tag, the changes are not persisted. The xhr request returns status 200 and there is nothing in the error logs.

---

<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: [June 9, 2016, 11:46am UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473/2 "2016-06-09T11:46:32Z")

</div>

@neil can you investigate I think @codinghorror had the same issue

---

<div class="post-metadata">

### Author: ![mferrero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mferrero/32/388959_2.png) [@mferrero](https://meta.discourse.org/u/mferrero)
#### Post date: [June 9, 2016, 2:12pm UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473/3 "2016-06-09T14:12:37Z")

</div>

Hello all,

first many thanks for this great software! It’s amazing.

We have the same problem running v1.6.0.beta7 : if we try to remove the last tag apparently it is removed, but reappears as soon as you reload the topic.  
As Knagis wrote it is possibile to substitute the last tag with another one, that change is persisted.

---

<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: [June 9, 2016, 4:05pm UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473/4 "2016-06-09T16:05:31Z")

</div>

I fixed! It’s something that broke when we moved it from a plugin into core.

---

<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: [June 9, 2016, 7:43pm UTC](https://meta.discourse.org/t/cannot-remove-the-last-tag-from-a-topic/45473/5 "2016-06-09T19:43:17Z")

</div>


