filoquin / json-xml-rpc

Automatically exported from code.google.com/p/json-xml-rpc
0 stars 0 forks source link

Bug in rpc.js #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
    1. responce with "error:null"
    2. Asyc = true

What is the expected output? What do you see instead?
    No errors returned, but got "TypeError: Cannot read property 'message' of null" in line 428.

What version of the product are you using? On what operating system?
    Version of rpc.js: 0.8.0.2

    Used Web2Py on server side

Please provide any additional information below.

    Fixed by editing line 427: if(response.error !== undefined && response.error !== null){

Original issue reported on code.google.com by KevinGli...@gmail.com on 10 Apr 2014 at 5:36

GoogleCodeExporter commented 8 years ago
Whoops, sorry for this bad issue name... should be something like "Bug in 
rpc.js, "response.error == null" exception in async mode"

Original comment by KevinGli...@gmail.com on 10 Apr 2014 at 5:41