etgryphon/stativus — Issue #21: Transitioning to substate
Author: jschilli
Created: 2011-11-14 16:21:25+00:00
State: open

I have two states - both parented by 'base'

http://cl.ly/0F0O1N2N3i2h1L1l3n3D

If I'm in production_list and sendEvent('viewCall', aCall) which is defined in 'base' state and looks like:

viewCall:function(aCall) {
aController.set('content',aCall);
this.goToState('call_detail');
}

I see the exit_state for the production_list and production states

I see only the enter state for 'calls' - e.g. it never transitions to the desired substate.

In goToState, I see it determine the correct common state = 'base' . I would expect cascadeEnterSubstates to transition through 'calls' and then enter call_detail

Any thoughts?