Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lucee 'Modern local scope' mode breaks CfStatic #111

Open
DominicWatson opened this issue Feb 11, 2015 · 1 comment
Open

Lucee 'Modern local scope' mode breaks CfStatic #111

DominicWatson opened this issue Feb 11, 2015 · 1 comment
Labels

Comments

@DominicWatson
Copy link
Contributor

Running you application with Lucee's 'Modern local scope' mode enabled, breaks CfStatic. Investigage and fix.

I've not seen this in action but reporting it on behalf of others. My guess is that the questionable decision to not use the arguments scope anywhere is the root of the problem - but that is just a guess.

@DominicWatson
Copy link
Contributor Author

A potential fix to try is adding localmode=false to each and every method in cfstatic:

<cffunction name="myfunction" ... localMode="false">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant