CB4 Lucee4.5

I’m having a weird issue.

I have two ORM services that I’m injecting via entityService.

Product.cfc which injects entityService:category into product.

When I create a new product object, the categoryService exists however when I do findAllWhere() or get(), the categoryService is null

Am I doing something wrong?

Any ideas why wirebox would not wire up models within models on anything but new() ?

Have you added the orm event listener/.

Luis Majano
Ortus Solutions, Corp
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

just did - and it works perfectly.

why doesn’t orm models not get wired up without it?

I can’t confirm this, but if you have it enabled in the Application.cfc you may need to have it setup as suggested by Luis.