ember.js: `delegate is not a function`

I just updated our app to try the latest Canary and it appears to break query params for us.

We’re seeing:

Error while processing route: xxx delegate is not a function TypeError: delegate is not a function

Here’s the backtrace etc…

screenshot 2015-06-29 17 31 10

I’ll see if I can reproduce in a smaller app asap.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 34 (20 by maintainers)

Commits related to this issue

Most upvoted comments

What i’ve found, is that if you run something in the controller (like this.set('something', someValue) before the route finishes the setupController, then it fails. I hope this helps to you to fix it.

Managed to reproduce in JSBin, it looks to be if the query param is a computed property:

http://emberjs.jsbin.com/dusufa