Bug in discourse-user-card-badges plugin

https://github.com/discourse/discourse-user-card-badges

When I go to my Profile Preferences (https://dicourse.forum/u/xxx/preferences/profile) with this plugin ON, I get the following error:

Uncaught Error: Could not find module `discourse/mixins/badge-select-controller` imported from `discourse/plugins/discourse-user-card-badges/discourse/controllers/preferences-card-badge`

Please fix this.

I believe @pmusaraj fixes some issues with this 10 days ago, are you sure you are on latest?

2 Likes

Yes, I am on 2.5.0.beta1

1 Like

I mean latest version of the plugin, I guess you are unless you pinned to a version

We will investigate this over the next 2 weeks

6 Likes

Looks like the plugin regressed after this commit:

https://github.com/discourse/discourse/commit/ac06c87b43505a0dd8f09da99e25cab5595abd99

@CvX can you have a look here?

5 Likes

Fixed in:
https://github.com/discourse/discourse-user-card-badges/pull/2

Also, it looks like this plugin was pretty much defunct since May 2018. Here’s a separate fix for displaying badge images:

https://github.com/discourse/discourse-user-card-badges/pull/3

7 Likes