Grant badge reason not added to the granted badge

AI-generated summary

The discussion revolves around an issue with granting badges in Discourse. Don reported that when granting a badge to a user with a reason, the reason is not added to the granted badge after clicking the Grant button. Richie was able to replicate the issue and provided screenshots to illustrate the problem. Richie also noted that the person who granted the badge is not listed. nat acknowledged the report and identified the issue, stating that it would be fixed. The fix was later implemented, and Don confirmed that it works. The fix can be found in this pull request.

Hello :wave:

Grant a badge to user with a reason. The reason won’t added to the granted badge after clicking the Grant button.

This commit is probably related: DEV: upgrade grant badge modal to glimmer (#23526) · discourse/discourse@a4238a3 · GitHub

Thank you :slightly_smiling_face:

5 Likes

We’re (sadly) able to replicate this too.

Currently running 3.2.0.beta2-dev (3f6adca2d7).

Hopefully the reason has still been recorded in the background and just isn’t being displayed in the front end :crossed_fingers:

Otherwise we’ve got a mountain of admin work to do for all our other badges with missing links…

:running_man: :dash:

4 Likes

Also, if it helps, the person who granted the badge is not listed here either:

3 Likes

Thanks for the report and identifying the commit, we’ll be fixing this.

1 Like

Thanks for the fix :partying_face: Works great :slightly_smiling_face:

https://github.com/discourse/discourse/pull/23753

3 Likes

Thanks for the bug fix @nat :smiley:

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