I am working upgrading to 5.1.0 on ACF 2018 beta and getting an error when injecting the entity service like so
property name="ORMService" inject="entityservice";
I am thinking it might be an order of operations issue as “entityService” does not meet any of the cases in the buildDSLdependency switch statement. and the dslspec from the cborm does not seem to have run yet, but I am admittedly not very familiar with how module dsl works. I tried adding the provider namespace but then ran into issues calling ORMService.get() since the provider wrapper has a get function defined it was returning an instance of the service not the entity.
any help you can provide would be appreciated.
The DSL Definition {JAVACAST={java.lang.Object@65bef8d6},REF={java.lang.Object@65bef8d6},SCOPE={variables},REQUIRED={true},VALUE={java.lang.Object@65bef8d6},DSL={entityservice},TYPE={any},ARGNAME={},NAME={ORMService}} did not produce any resulting dependency
The target requesting the dependency is: ‘utility.EntityUtils’
The error occurred in G:/apps/lib/coldbox/5.1.0/system/ioc/Builder.cfc: line 466
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 883
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 645
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/scopes/NoScope.cfc: line 47
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 369
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Builder.cfc: line 583
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Builder.cfc: line 447
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 883
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 645
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/scopes/Singleton.cfc: line 78
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 369
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Builder.cfc: line 583
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Builder.cfc: line 414
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 883
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 645
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/scopes/Singleton.cfc: line 78
Called from G:/apps/lib/coldbox/5.1.0/system/ioc/Injector.cfc: line 369
Called from G:/apps/lib/coldbox/5.1.0/system/web/services/InterceptorService.cfc: line 328
Called from G:/apps/lib/coldbox/5.1.0/system/web/services/InterceptorService.cfc: line 259
Called from G:/apps/lib/coldbox/5.1.0/system/web/services/InterceptorService.cfc: line 115
Called from G:/apps/lib/coldbox/5.1.0/system/web/services/InterceptorService.cfc: line 85
Called from G:/apps/lib/coldbox/5.1.0/system/web/services/LoaderService.cfc: line 52
Called from G:/apps/lib/coldbox/5.1.0/system/Bootstrap.cfc: line 98
Called from G:/apps/lib/coldbox/5.1.0/system/Bootstrap.cfc: line 143
Called from G:/apps/lib/coldbox/5.1.0/system/Bootstrap.cfc: line 464
Called from G:/apps/lib/model/BaseColdboxApplication.cfc: line 182
464 : throw(
465 : message = "The DSL Definition #arguments.definition.toString()# did not produce any resulting dependency",
**466 : detail = "The target requesting the dependency is: '#arguments.targetID#'",**
467 : type = "Builder.DSLDependencyNotFoundException"
468 : );