epologee/navigator-as3 — Issue #30: StateController map traces injector warning
Author: PaulTondeur
Created: 2011-11-24 23:38:09+00:00
State: open

When using a stateController, an error will show up in your trace output:

Warning: Injector already has a rule for type "com.epologee.navigator::NavigationState", named "".
If you have overwritten this mapping intentionally you can use "injector.unmap()" prior to your replacement mapping in order to avoid seeing this message.
Warning: Injector already has a rule for type "com.epologee.navigator::NavigationState", named "truncated".
If you have overwritten this mapping intentionally you can use "injector.unmap()" prior to your replacement mapping in order to avoid seeing this message.

The code runs as expected, but something is obviously incorrect. As the error indicates, it seems like NavigationState hasn't been unmapped.