In production, we have Coldbox 3, M5 running. I want to run M6, but
don't have the time right now to fix the apps that are currently
working under the M5 version. I tried swapping the folder out for the
M6 version but i got a few errors which caused the apps to break
instantly. One error was:
The DSNBEAN argument passed to the init function is not of type
coldbox.system.beans.datasourceBean
Is there a way to run M6 at the same time easily alongside M5, maybe
some setting where I can change the path that the framework looks at
for a particular app?
What version of CF are you using? I use mappings and the no inheritance application.cfc to give each app it’s own version of the framework. Then I can modify one without affecting others.
Look at the noinheritance application.cfc in the coldbox advanced template. You’d want to start with that and include a mapping like below which would allow you to change each one individually.