# "Allow badge to be used as a title" - not persisting

**URL:** https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395
**Category:** Bug
**Created:** [March 15, 2020, 5:30pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395 "2020-03-15T17:30:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [March 15, 2020, 5:30pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/1 "2020-03-15T17:30:30Z")

</div>

I’m pretty sure I mentioned this before (but can’t find the topic now - think Sam said he had fixed it) but the `Allow badge to be used as a title` option for `Regular` badges is not persisting - it seems to get reset whenever there is an update.

---

<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: [May 26, 2020, 7:45am UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/3 "2020-05-26T07:45:49Z")

</div>

This is very strange… looking at the seed:

> <https://github.com/discourse/discourse/blob/76c4bc925d2692eb0e258c35f6fdce0b183fb373/db/fixtures/006_badges.rb#L60-L60>

All we do is amend the default in the seed file.

@jomaxro can community reproduce this issue?

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [May 26, 2020, 12:37pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/15 "2020-05-26T12:37:44Z")

</div>

I wasn’t able to reproduce it right away but since the problem seems to happen after updates, I’ll have a look at again later this week after a couple of deploys 🛠

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [May 28, 2020, 5:57am UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/17 "2020-05-28T05:57:26Z")

</div>

Thanks for the report @AstonJ, I can reproduce this now for the **Regular** and **Leader** badges 🐛

1. Un-check “Allow badge to be used as a title” and Save. You’ll see that the change persists just fine across hard refreshes:

2. Deploy the site and it’ll reset at the beginning of the deploy (and I think once more at the end):

---

<div class="post-metadata">

### Author: ![meiadeleite](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meiadeleite/32/139417_2.png) [@meiadeleite](https://meta.discourse.org/u/meiadeleite)
#### Post date: [April 17, 2021, 12:18pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/23 "2021-04-17T12:18:20Z")

</div>

I’ve also noticed this issue on our forum — the Regular and Leader badges keep getting used as titles, and when I check the settings, this option is active, despite me having already de-activated it a few times. ☹

---

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 12, 2021, 1:39pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/24 "2021-05-12T13:39:57Z")

</div>

Can confirm that this is happening with us too, every time we bootstrap our forum docker image.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [May 27, 2021, 6:18pm UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/25 "2021-05-27T18:18:09Z")

</div>

[https://github.com/discourse/discourse/pull/13190](https://github.com/discourse/discourse/pull/13190)

This is now fixed in the above PR.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [June 4, 2021, 2:30am UTC](https://meta.discourse.org/t/allow-badge-to-be-used-as-a-title-not-persisting/144395/26 "2021-06-04T02:30:41Z")

</div>

This topic was automatically closed after 7 days. New replies are no longer allowed.
