# Badge icons reset after rebuild

**URL:** https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000
**Category:** Bug
**Created:** [8 Julho , 2016 14:26 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000 "2016-07-08T14:26:29Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![JoeZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joez/32/65938_2.png) [@JoeZ](https://meta.discourse.org/u/JoeZ)
#### Post date: [8 Julho , 2016 14:26 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/1 "2016-07-08T14:26:29Z")

</div>

I changed my icons for all of my badges to something custom. Works great until I run ./launcher rebuild app. Then about 1/3 of the icons reset to default font awesome code. I’ve done it twice now and it seems to be the same ones. Note that these are the default badges in the system…my custom badges hold the settings.

---

<div class="post-metadata">

### Author: ![JoeZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joez/32/65938_2.png) [@JoeZ](https://meta.discourse.org/u/JoeZ)
#### Post date: [14 Julho , 2016 23:13 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/2 "2016-07-14T23:13:58Z")

</div>

Looks like it is consistently the same badges after a rebuild.

> Appreciated  
> Out of Love  
> Promoter  
> Thank You  
> Anniversary  
> Campaigner  
> Gives Back  
> Higher Love  
> Respected  
> Admired  
> Champion  
> Crazy in Love  
> Empathetic  
> Basic  
> Member  
> Regular  
> Leader

All others are fine, including my custom badges.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [15 Julho , 2016 04:33 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/3 "2016-07-15T04:33:25Z")

</div>

> [@JoeZ](#):
>
> I changed my icons for all of my badges to something custom.

hmmm how are you changing the icons?

---

<div class="post-metadata">

### Author: ![JoeZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joez/32/65938_2.png) [@JoeZ](https://meta.discourse.org/u/JoeZ)
#### Post date: [15 Julho , 2016 14:59 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/4 "2016-07-15T14:59:05Z")

</div>

Admin-\>Badges

Changing the Icon from the Font Awesome code to a URL pointing to the image of choice. It works after saving, just resets after rebuilding.

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [2 Outubro , 2016 08:18 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/5 "2016-10-02T08:18:46Z")

</div>

I’ve just run ./launcher rebuild app in hopes of fixing an issue where I can’t rename my badges [https://meta.discourse.org/t/issue-renaming-trust-levels-badges/49722/3](https://meta.discourse.org/t/issue-renaming-trust-levels-badges/49722/3), but upon reloading the page, I now see that about 60% of my badges have lost their images.

In the image below, notice that “Nice Share” “Welcome” etc are still maintaining their custom image definition, but most of the others have been reset.

Also, I still can’t rename my badges…

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

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [4 Outubro , 2016 05:59 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/6 "2016-10-04T05:59:28Z")

</div>

Can I bump this? Really really want to get a fix or at least some clue as to what’s going on. Also, @codinghorror, thanks for moving my post into this thread (I should have done that myself), however I think you also deleted my other post [https://meta.discourse.org/t/issue-renaming-trust-levels-badges/49722/3](https://meta.discourse.org/t/issue-renaming-trust-levels-badges/49722/3) about not being able to rename my trust levels because of a weird bug with the language system.

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [8 Outubro , 2016 07:35 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/7 "2016-10-08T07:35:25Z")

</div>

@codinghorror - is there any chance you can bring back that topic, or shall i recreate the imagery and test stats to discuss the bug again? It’s probably the worst bug I’m encountering across Discourse, so I’d love to keep pushing on the conversation, and I’m a little sad to lose what was there already.

---

<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: [8 Outubro , 2016 09:30 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/8 "2016-10-08T09:30:22Z")

</div>

I will have a look next week, I have this bookmarked

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [20 Outubro , 2016 08:40 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/9 "2016-10-20T08:40:33Z")

</div>

Any luck with repro’ing or investigating?

This thread is obviously about the badge icons resetting every time we rebuild - Should I create another topic with more info about the badge names that I can’t modify anymore (since the last one was deleted)?

---

<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: [20 Outubro , 2016 23:54 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/10 "2016-10-20T23:54:31Z")

</div>

Should be fixed per:

[https://github.com/discourse/discourse/commit/35d248ab0d3d5338ae4ddd98960e94b0f5b7df65](https://github.com/discourse/discourse/commit/35d248ab0d3d5338ae4ddd98960e94b0f5b7df65)

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [21 Outubro , 2016 00:35 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/11 "2016-10-21T00:35:55Z")

</div>

Awesome - I assume this is only a fix for the badge icons resetting though, correct? Shall I make a topic again for the issue that I have with badge names (which seems to be caused by the localization engine)?

---

<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: [21 Outubro , 2016 00:37 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/12 "2016-10-21T00:37:11Z")

</div>

Yeah a separate one for the name makes sense, with exact repro.

This particular one was for cases where you override with an image as opposed to icon.

---

<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: [22 Outubro , 2016 23:55 UTC](https://meta.discourse.org/t/badge-icons-reset-after-rebuild/47000/13 "2016-10-22T23:55:24Z")

</div>

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