Upgrade issue

I tried upgrading my test site from 1.6 to 2.0 using the auto update tool and now when going the site I get the below. I did restart coldfusion.

Can you provide a full stack trace? Also, what exact version of CF/Railo are you on?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

That was all that on the screen, cf 9.0.2

see this

http://jonathan.evengame.com/

Enable robust Exception handling (temporarily) and/or look in the CF exception logs for the full message.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Here you go.

Looks like a parsing bug in CF 9.0.2 using a function parameter named “default”

any function r(
required string resource,
string default,
string locale,
any values,
string bundle
){ … }

I’m not sure if there’s a way around that. We may need to rename that argument to be something different for CF9 compat. in the mean time, can you try renaming it and see if it fixes the error. As long as there are no places using named args AND supplying the “default” argument it shouldn’t break anything else.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I briefly tried, but couldn’t find a way to get CF9 to allow an argument name called “default” in script. Here’s the ticket I put in for it:
https://ortussolutions.atlassian.net/browse/CONTENTBOX-518

Confirmed. That fixed it. I changed default to default2 and problem is gone. Site is up and so far no other issues.