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
Fix TypeError when handling multi exception #457
Conversation
When errors occurs using multi/exec, avoid "TypeError: Cannot read property 'length' of undefined"
Hi @kwangsu61 -- can you provide an example, test case, or existing issue with one of those for me to provide some context? |
Hello @brycebaril |
I just filed #478 because I encountered this issue. I also provided a demo coffeescript program that demonstrates the behavior. |
Hi @bpytlik this fix needs more work. Right now this completely breaks the current test suite. My guess is instead of never splicing some sort of logic is required to see when splicing is applicable. |
Ahh, nope, I was wrong -- this does not break any of the current tests. Sorry for the misinformation! Will evaluate how to add a test for this. |
@brycebaril I didn't offer a fix, @kwangsu61 did though :) I offered a CS file that demonstrates the issue. |
Thanks! I went ahead and added a test. |
I have found this error again in node redis 0.12 |
@lamujeresponja -- can you reproduce the error, and if so can you provide a code snippet that does? Thanks! |
When errors occurs using multi/exec, avoid "TypeError: Cannot read property 'length' of undefined"