Actions on multiple selected topics fails

I’m not sure if a plugin can cause this error but here’s what happens:

  1. Select multiple topics and click on wrench.
  2. Action modal pops up with no available actions.

The JS error associated:

Uncaught TypeError: C(...).lookupFactory is not a function
at r.changeBulkTemplate (https://dialog.alternativet.dk/assets/application-e1274ceed913fb734402dae7314c227a1b2cb63f5767b423889615e254e34327.js:63:12394)
at l.A [as triggerEvent] (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:10:30370)
at Object.u [as trigger] (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:10135)
at l.trigger (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:1532)
at r.send (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:11:4103)
at r.send (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:12:6144)
at r.onShow (https://dialog.alternativet.dk/assets/application-e1274ceed913fb734402dae7314c227a1b2cb63f5767b423889615e254e34327.js:12:23713)
at e.default (https://dialog.alternativet.dk/assets/application-e1274ceed913fb734402dae7314c227a1b2cb63f5767b423889615e254e34327.js:7:9032)
at r.showBulkActions (https://dialog.alternativet.dk/assets/application-e1274ceed913fb734402dae7314c227a1b2cb63f5767b423889615e254e34327.js:15:22176)
at r.send (https://dialog.alternativet.dk/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:13:31938)
2 Likes

Possibly another Ember related regression @eviltrout?

Sorry about that. I’ve fixed it in this commit:

https://github.com/discourse/discourse/commit/0dbcb4ec8add06e59c26ebaddb4df2a2e9848809

7 Likes