-
Notifications
You must be signed in to change notification settings - Fork 13
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
TypeError: Cannot read property 'type' of undefined #33
Comments
Hi @codac thanks for logging the issues. Unfortunately I’ve not been able to reproduce the error. Could you share your config and the version of the module you are using? Thanks |
Getting something similar, consequence is that the data is fetched normal, but first time update fails and data becomes stale. Will dive in, to explore the cause
My config.js
|
added some logging. this.config is null, at the start of the fetch methods when called after the timeout... |
It looks like after the timeout, the "this" object is a timeout object and not the nodehelper object anymore |
Changed in the node_helper the fetchStandings and fetchSchedule methods in the same way:
added self=this and changed the call to the setTimeout method |
Signed-off-by: 73cirdan <73cirdan@gmail.com>
added pullrequest #40 to fix this issue |
issue ianperrin#33 - rewrote setTimeout call
issue #33 - rewrote setTimeout call
Thanks @73cirdan |
I'm getting the following error:
Maybe not received as an result of a timeout. Anyways there should be an error handling for.
The text was updated successfully, but these errors were encountered: