Hello,
I recently upgraded a site I'm developing from ColdBox 3.0 beta 1 to
3.0 M4.
I noticed in the coldbox.xml.cfm.bak file of the Application Template
(advanced) that there is no longer a <Conventions> element for custom
application conventions. I went ahead and added it in and it seems
like the framework is ignoring it. I designated a directory named
"controllers" as my handlersLocation and I get this error:
HandlerService.HandlersDirectoryNotFoundException
The handlers directory: [path to handlers directory] does not exist
please check your application structure or your Application Mapping
I also noticed that it's not loading custom settings that I've
designated with the <YouSettings> element.
Conventions are always there, they are just commented out. Look at the flex application, the conventions are there. And it is YourSettings, not YouSettings.
The xml configuration file has remained the same. Just make sure that you don’t have the new Coldbox.cfc in the same location, as it takes preference over the xml file.
Luis,
Please read my post again. I went ahead and included the <Conventions>
element in my config file as well as <YourSettings> (the "YouSettings"
was a typo in my post, not my config file). And when I loaded my
application, these settings are being ignored and it's causing errors.
Luis,
Ah -- I should've read YOUR message again. What happened was that it
was reading from Coldbox.cfc instead of the xml file. So I renamed
Coldbox.cfc to something else and it's working now.