Hi guys,
I’ve run into a bit of a stumbling block. I’m trying to conditionally activate a module, infact, that bit works fine. I exclude it from the list of modules in config, I register it in afterConfigurationLoad(), and then I activate it further down the chain, using an inteceptor.
However, if i run an fwreinit from within the module, i can see that it hits the inteceptor, and runs the activateModule() line (no errors, i mean), but by the end of the request im landing on my missingTemplateHandler (which is telling me it cant find //views/{module}.cfm). I Can also add a dump into the onLoad function, which works correctly, and the module shows in the getLoadedModules() array after it’s been activated.
If I fwreinit from somewhere else in the application, then go to the entry point, it all works fine.
Am i missing some config option here? or do i need to activate, then reload it?
Many Thanks,
Alex