Badge icons reset after rebuild


(Joe Z) #1

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.


(Joe Z) #2

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.


(Alan Tan) #3

hmmm how are you changing the icons?


(Joe Z) #4

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.


(Keith) #5

I’ve just run ./launcher rebuild app in hopes of fixing an issue where I can’t rename my badges Discourse Meta, 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…


(Keith) #6

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


(Keith) #7

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


(Sam Saffron) #8

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


(Keith) #9

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


(Sam Saffron) #10

Should be fixed per:


(Keith) #11

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


(Sam Saffron) #12

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.


(Sam Saffron) #13

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