mrozmanith / flexcairngorm

Automatically exported from code.google.com/p/flexcairngorm
0 stars 0 forks source link

ModuleController issue using addSubController() #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use addSubController() to inject event/command mapping of a
ModuleController instance
2. event/command mapping inside of FrontController gets corrupted
3.

What is the expected output? What do you see instead?
mapping should work

What version of the product are you using? On what operating system?
latest as of filing this issue

Please provide any additional information below.

Inside ModuleController there is an implicit getter for registredEvents
which ahould return an array in the manner of: EventKey -> CommandReference.

However, using a for each loop, the object's mapping will be: [Command
Object] -> null.

TODO: replace 'for each' with 'for'

Original issue reported on code.google.com by elysiant...@gmail.com on 3 Feb 2010 at 10:41