Badge icons reset after rebuild

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.

1 Like

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.

hmmm how are you changing the icons?

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.

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, 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…

1 Like

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 about not being able to rename my trust levels because of a weird bug with the language system.

@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.

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

3 Likes

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)?

Should be fixed per:

https://github.com/discourse/discourse/commit/35d248ab0d3d5338ae4ddd98960e94b0f5b7df65

5 Likes

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)?

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.

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