epologee/navigator-as3 — Issue #31: Mapping a state to a command will automatically validate all substates as valid
Author: PaulTondeur
Created: 2011-11-27 00:04:28+00:00
State: open

When I map the root state, it will automatically validate all substates, while the expected behavior would be that it only validates states that have been mapped (to either views or commands).

Add the following line to your context:
stateControllerMap.mapCommand("/", SomeCommand);

then navigate to /test/ or /this/is/a/test/state/that/has/never/been/mapped/ both will be valid states.