It’s been a while!
I’ve just been going through the commandbox installs using the latest commandbox and am hitting problems.
Using the Preside Admin Skeleton (OFFICIAL):
The error I’m getting is:
500 : An error occurred
Event: admin.login.index
Routed URL: N/A
Layout: adminLogin.cfm (Module: )
View: /admin/login/firstTimeUserSetup
Timestamp: 09/14/2024 09:35:34 PM Type: Builder.DSLDependencyNotFoundException
Messages: The target 'app.extensions.preside-ext-launcher.handlers.admin.launcher.datasource.Pages' requested a missing dependency with a Name of 'siteTreeService' and DSL of 'siteTreeService' {ref={null}, required={true}, argName={}, dsl={siteTreeService}, javaCast={null}, name={siteTreeService}, type={any}, value={null}, scope={variables}}
Tag Context:
Template: C:\web\library\preside\system\externals\coldbox\system\ioc\Builder.cfc
LINE: 481: message = injectMessage,
482: detail = arguments.definition.toString(),
483: type = "Builder.DSLDependencyNotFoundException"
484: );
485: }
It seems like it’s not finding the siteTreeService which I’m figuring it shouldn’t need for the Admin skeleton.
Something to do with the -
settings.features.sitetree.enabled = false;
not being honoured, pehaps.
That will be a bug with latest Preside version where we try to minimize the loaded resources based on unused features. Will need to update the launcher extension with a fix.
Curious - I wouldn’t expect the site picker to be invoked at all. I’ll try to get this up and running locally, had thought that I’d covered the admin template but clearly not