As an FYI. I installed ColdBox 4-BE (coldbox-4.0.0+00002-201501201357) via CommandBox today and started getting the below error when I pass a URL with some URL params. The error does not exist when I use the standalone ColdBox-RC download fron the website. My URL is in the format which causes the error… myapp/index.cfm/Dashboard/dashboard/project/1
Chad, here are the CommandBox commands I tried and it worked fine:
coldbox create app dashboard --installColdBoxBE
coldbox create handler dashboard dashboard
start --!openbrowser
server open /index.cfm/dashboard/dashboard
Can you show us the code in your dashboard CFC? I’m thinking perhaps you have another variable called “dashboard” that is interfering with the function name.
Yes, that’s the problem. You have two things called “dashboard” in that CFC. You can’t name a function the same thing as a property. Well, you can obviously, but it breaks stuff. “variables.dashboard” needs to only point to one thing at a time.