Richie
(Richie Rich)
1
I have an issue when creating a new Badge on my Discourse v2.4.0.beta1 +7
I did compare to latest: https://github.com/discourse/discourse/compare/34f382b…dc5eb76 but saw no mention of a Badge fix, hence this bug report.
Steps to reproduce:
-
Fill in the relevant parts of the form and click Save button
-
The message ‘Saving…’ appears, and does not then disappear:

- A console error is caught re
ace.js
-
Clicking away from the page throws a browser message asking if I’m sure I want to leave that page
-
The badge does get created successfully 
Able to reproduce on both Safari 12.1.1 and Firefox 65.0.1
4 „Gefällt mir“
sam
(Sam Saffron)
2
Confirmed! Thanks heaps for the report. @techAPJ can you investigate and fix.
If this impacts “stable” we should back port the fix.
6 „Gefällt mir“
techAPJ
(Arpit Jalan)
4
Taking a quick look at this, the create (Save) process fails if there is no badge query present. Fixed via:
https://github.com/discourse/discourse/commit/ccb3ba509defff2d74944c92195da7362c4979b1
Backported to beta and stable.
8 „Gefällt mir“
Richie
(Richie Rich)
5
Thanks for the quick fix @techAPJ 
4 „Gefällt mir“