Skip to content

Error with ember 0.9.8.1: Object _ has no method 'setURL' #4

Open
vitch opened this Issue May 31, 2012 · 1 comment

1 participant

@vitch
vitch commented May 31, 2012

I am trying to use this code with the latest release of ember.js... I ran into a couple of problems that I worked around by also upgrading ember-layout and ember-routemanager to their latest versions. But I still get an error when navigating:

Object "FRAGMENT_YOU_NAVIGATED_TO" has no method 'setURL'

I've forked the repo and set up a branch where you can easily see the error:

https://github.com/vitch/ember-layout-example/tree/ember-0.9.8.1

I think the error is in ember-routemanager due to changes in ember. The location var is a string rather than a View by the time it reaches Ember.Routable.updateRoute - I'm just starting out with ember.js so I haven't been able to figure out why yet...

Any ideas?

@vitch
vitch commented May 31, 2012

I since read that ember has included code much like yours in the core with this release so I guess that is the reason for the problem. Would you recommend just using their code with 0.9.8.1? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.