IOC Parent Factory throws error on init, ColdBox 3.6.0

Crap, just saw your guide to subject lines. Apologies for the bad post, will be better in the future.

How did Yu define this in the config

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

The definition was as below (with different file paths for config, obviously):

ioc = {
framework = “coldspring2”
, definitionFile = “/path/to/child/coldspring.xml”
, parentFactory = {
framework = “coldspring2”
, definitionFile = “/path/to/parent/coldspring.xml”
}
};

Thanks for the reply.

Found another issue with the Coldspring 2 adapter. I have made a pull request here:

https://github.com/ColdBox/coldbox-platform/pull/135

Thanks Dominic will add tonight. I just shuddered when I saw the words coldspring :slight_smile:

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

Ok, fixed in the dev branch with more unit tests added. Thanks!

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Thank you, I’ll have a look at writing failing tests should I find a bug next time and give you less work :slight_smile: