# Discourse assign plugin failing on stable branch

**URL:** <https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672>\
**Category:** Bug\
**Created:** [January 15, 2020, 10:48am UTC](https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672 "2020-01-15T10:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

User [trobiyo](/t/-/138672/1) reported a bug on the stable branch regarding the Discourse assign plugin. The issue manifested as a console error stating `Uncaught Error: Could not find module '@ember/object'`, originating from the `extend-for-assigns` initializer. [trobiyo](/t/-/138672/1) identified the problematic line in the plugin's source code and provided the full stack trace. In response, [j.jaffeux](/t/-/138672/3) suggested updating the plugin, noting that a specific commit ([7933a29](https://github.com/discourse/discourse-assign/commit/7933a29fa00938d95ea147ddbf8f0b94d9fb988f)) should resolve the dependency issue. [trobiyo](/t/-/138672/4) confirmed that the update fixed the problem, stating the plugin is now "working like a charm."

<div class="post-metadata">

**Author:** ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)\
**Post date:** [January 15, 2020, 10:48am UTC](https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672/1 "2020-01-15T10:48:45Z")

</div>

Hi @j.jaffeux,

Another potential bug, this time regarding Discourse assign plugin.

It’s related to this line:  
[https://github.com/discourse/discourse-assign/blob/master/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6#L8](https://github.com/discourse/discourse-assign/blob/master/assets/javascripts/discourse-assign/initializers/extend-for-assigns.js.es6#L8)

At the time of running Discourse, we get the following error on console:

```plaintext
Uncaught Error: Could not find module `@ember/object` imported from `discourse/plugins/discourse-assign/discourse-assign/initializers/extend-for-assigns`
    at h (_ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:69574)
    at _ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:69552
    at t.module.exports.u.<computed> (_ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:69609)
    at t.module.exports.u.<computed> (_ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:69476)
    at require (_ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:69608)
    at _application-4bbf4bf6518f7480549c54813a7fe09233841e43c49675ffe7fbda7ac187d247.js:8524
    at Array.forEach (<anonymous>)
    at t.start (_application-4bbf4bf6518f7480549c54813a7fe09233841e43c49675ffe7fbda7ac187d247.js:8522)
    at preload-application-data-c20deb0418fd87f5f03266570c4f93070c8325d5b49950d7621204a44b651901.js:1
    at preload-application-data-c20deb0418fd87f5f03266570c4f93070c8325d5b49950d7621204a44b651901.js:1

```

Cheers,  
Ismael

---

<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:** [January 15, 2020, 3:07pm UTC](https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672/3 "2020-01-15T15:07:26Z")

</div>

Hi,

can you try to update please?

This should fix it:

[https://github.com/discourse/discourse-assign/commit/7933a29fa00938d95ea147ddbf8f0b94d9fb988f](https://github.com/discourse/discourse-assign/commit/7933a29fa00938d95ea147ddbf8f0b94d9fb988f)

---

<div class="post-metadata">

**Author:** ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)\
**Post date:** [January 15, 2020, 3:48pm UTC](https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672/4 "2020-01-15T15:48:11Z")

</div>

Awesome 👏. Working like a charm. Thank you!

Cheers,  
Ismael

---

<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:** [January 15, 2020, 3:49pm UTC](https://meta.discourse.org/t/discourse-assign-plugin-failing-on-stable-branch/138672/5 "2020-01-15T15:49:12Z")

</div>

Closed on January 15, 2020, 3:49pm UTC


