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
wheels callbacks.cfm $callbacks funtion error #645
Comments
@adrox37 Thanks for reporting. Can you submit a pull request with the fix? |
@chrisdpeters i don't have permissions to create a pull request. Otherwise I would have created the request. |
@adrox37 All you need to do is fork the cfwheels repo, make the change in your fork, then submit a pull request.. Happy contributing! |
Thanks @chapmandu worked great. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is an loc is not defined in the function and occasionally causes error. Adding var loc = {};
fixes the issue.
version: CFWheels 1.4.5
Error:
You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.
The error occurred in /Projects/wheels/model/callbacks.cfm: line 148
Called from /Projects/wheels/model/callbacks.cfm: line 172
Called from /Projects/wheels/model/create.cfm: line 66
Called from /Projects/wheels/model/serialize.cfm: line 59
Called from /Projects/wheels/model/serialize.cfm: line 13
Called from /Projects/wheels/model/read.cfm: line 223
Called from /Projects/wheels/model/read.cfm: line 290
Called from : line 1
Called from /Projects/wheels/model/onmissingmethod.cfm: line 110
The text was updated successfully, but these errors were encountered: