emberjs/ember.js — Issue #577: Current state is not yet set while invoking the enter function of state
Author: stravid
Created: 2012-03-09 12:20:07+00:00
State: open

I have following JSFiddle (http://jsfiddle.net/fmAzj/16/) which produces the error
```<(subclass of Ember.StateManager):ember135> could not respond to event loaded in state Creating.
```

I think this happens because the StateManager calls `enter` of the new state before he sets the current state to the new one. In comparison this JSFiddle (http://jsfiddle.net/fxDLu/) works like intended.

Is this a bug or intentional? Thanks for helping me to understand Ember better :-)