"injector is not defined" using SignalContext

hush's Avatar

hush

27 Jul, 2010 10:53 AM

Exception fault: ReferenceError: Error #1065: Variable org.robotlegs.base:ContextBase::injector is not defined.
at org.robotlegs.mvcs::SignalContext/mapInjections()[/Users/joel/Code/robotlegs/robotlegs-dev/signals-extension-CommandSignal/src/org/robotlegs/mvcs/SignalContext.as:24]
at org.robotlegs.mvcs::Context()[/Users/shaun/Documents/Development/Workspaces/GanymedeFB4/robotlegs-framework/src/org/robotlegs/mvcs/Context.as:88]
at org.robotlegs.mvcs::SignalContext() [...]

Before deepdiving into implementation, maybe someone can point out to resolution of this.
I'm using:
as3-signals-v0.7.swc
signals-extension-SignalsCommandMap.swc
robotlegs-framework-v1.1.2.swc

  1. 1 Posted by hush on 27 Jul, 2010 01:32 PM

    hush's Avatar

    The following config (taken from Joel's SignalsCafe examples) with the same code works:

    as3-signals-v0.5.swc
    robotlegs-framework-v1.0.3.swc
    signals-extension-SignalsCommandMap.swc

    Probably something has changed between these versions

  2. 2 Posted by Chris Anderson on 27 Jul, 2010 02:16 PM

    Chris Anderson's Avatar

    ran into the same error using:
    robotlegs framework v1.1.2
    swiftsuspenders v1.5.1

  3. Support Staff 3 Posted by Shaun Smith on 30 Jul, 2010 09:51 AM

    Shaun Smith's Avatar

    I don't use the SignalsCommandMap, but maybe Joel has an idea as to what's happening here?

  4. 4 Posted by Chris Anderson on 30 Jul, 2010 01:01 PM

    Chris Anderson's Avatar

    I dropped using the signalscommandmap.swc in favor of using the source directly and haven't encountered this bug anymore.

  5. 5 Posted by Almog on 04 Sep, 2010 10:00 PM

    Almog's Avatar

    Hi I had the say issue using the source directly fixed I bet the SWC is missing an update.

  6. 6 Posted by Knight.zhou on 29 Sep, 2010 03:40 AM

    Knight.zhou's Avatar

    I have build a "signals-extension-SignalsCommandMap" library project, it works well as follows version,hopes it will help us:

    as3-signals-v0.5.swc
    robotlegs-framework-v1.1.2.swc

    Probably something has changed between these versions.

  7. Stray closed this discussion on 10 Feb, 2011 05:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac