# Grant-Badge-Ansicht zeigt keine Daten an

**URL:** https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235
**Category:** Bug
**Created:** [20. Mai 2019 um 18:03 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235 "2019-05-20T18:03:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![twm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twm/32/141663_2.png) [@twm](https://meta.discourse.org/u/twm)
#### Post date: [20. Mai 2019 um 18:03 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/1 "2019-05-20T18:03:45Z")

</div>

My discourse version is v2.3.0.beta9 +492. I’m experiencing this issue on [safe mode](https://meta.discourse.org/t/53504?silent=true) with custom themes, custom plugins, & official plugins disabled.

The view renders correctly but does not display any dynamic data.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/7/371ee6709f1a8f63cf3fe2a5faf4571f3220c4b4.png)

There is an error in the console.

```plaintext
Uncaught TypeError: _.groupBy is not a function
    at n.groupedBadges (admin-40a2f70048596291a10627baa7569d2037b092dfdbcd67b0d2ac1ce7db7bfa64.js:7)
    at n.<anonymous> (application-d1dbb1bf3331dc1f7d279dafd5789b9090c7e8dca6a90ec53c79d0ea22b382f7.js:1)
    at n.o.get (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:7)
    at Q (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:6)
    at t.r.compute (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:4)
    at t.value (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:4)
    at e.t.iterate (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:5)
    at e.t.isEmpty (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:13)
    at e.value (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:14)
    at e.t.initialize (ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:13)

```

Is anyone else experiencing this behavior?

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [20. Mai 2019 um 19:37 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/3 "2019-05-20T19:37:35Z")

</div>

Currently running Discourse `v2.3.0.beta9 +479`

Trying to issue any badges to any users but the drop down list of badges does not open.

Steps to replicate:

1. Click on a User
2. Click Admin button
3. Click Edit Badges button
4. Click the drop down list to see what badges are available

Nothing happens… the drop down does not open and an error is presented in the web console:

 ![121594aec7c38d256ae50bec0d2f0fc820a73f30](https://global.discourse-cdn.com/meta/original/3X/1/2/121594aec7c38d256ae50bec0d2f0fc820a73f30.png)

Interestingly, I am able to issue badges from a post. If I click on the spanner icon on any post and chose Grant Badge, then the whole list of badges opens up and works normally.

 ![35](https://global.discourse-cdn.com/meta/original/3X/4/9/4967717a94360067610eeacba6ed2d1ca7285131.png)

Error log screen shot:

 ![45](https://global.discourse-cdn.com/meta/original/3X/a/9/a9ae4e71b25670bae1b4ebfe51ec11faf9f26181.png)

Any suggestions?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [20. Mai 2019 um 19:50 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/5 "2019-05-20T19:50:11Z")

</div>

Will fix this tomorrow

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [21. Mai 2019 um 06:59 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/6 "2019-05-21T06:59:49Z")

</div>

This will be fixed by:

[https://github.com/discourse/discourse/commit/6c6a6771af711fe22fa08f854059867a91d4a913](https://github.com/discourse/discourse/commit/6c6a6771af711fe22fa08f854059867a91d4a913)

I also added a test which would have caught this failure on users badges page.

Thanks for reporting this 👍

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [21. Mai 2019 um 11:11 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/7 "2019-05-21T11:11:08Z")

</div>

Fixed installed and tested - thanks @j.jaffeux 😃

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [21. Mai 2019 um 16:00 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235/8 "2019-05-21T16:00:00Z")

</div>

This topic was automatically closed after 9 hours. New replies are no longer allowed.
