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

wheels callbacks.cfm $callbacks funtion error #645

Closed
adrox37 opened this issue Jul 7, 2016 · 5 comments
Closed

wheels callbacks.cfm $callbacks funtion error #645

adrox37 opened this issue Jul 7, 2016 · 5 comments

Comments

@adrox37
Copy link
Contributor

adrox37 commented Jul 7, 2016

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

@chrisdpeters
Copy link
Contributor

@adrox37 Thanks for reporting. Can you submit a pull request with the fix?

@adrox37
Copy link
Contributor Author

adrox37 commented Jul 7, 2016

@chrisdpeters i don't have permissions to create a pull request. Otherwise I would have created the request.

@chapmandu
Copy link
Contributor

@adrox37 All you need to do is fork the cfwheels repo, make the change in your fork, then submit a pull request.. Happy contributing!

@adrox37
Copy link
Contributor Author

adrox37 commented Jul 8, 2016

Thanks @chapmandu worked great.

@chapmandu
Copy link
Contributor

#646

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

No branches or pull requests

3 participants