Daniel Roizman created CB-6750:
----------------------------------
Summary: FileTransfer Download null errors
Key: CB-6750
URL: https://issues.apache.org/jira/browse/CB-6750
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File Transfer
Affects Versions: 3.4.0
Environment: iOS
Reporter: Daniel Roizman
FileTransfer download is erroring on it's 'win' function. The result being
passed in is null on line 170. The 'win' function is called multiple times
with incremental progress, but on the final call, it is passed null instead of
proper result.
So the file is there and fine, but my callback is not triggered because the
'win' function is erroring.
[Error] TypeError: 'null' is not an object (evaluating
'result.lengthComputable')
win (FileTransfer.js, line 172)
callbackFromNative (cordova.js, line 292)
(anonymous function) (cordova.js, line 1046)
nativeEvalAndFetch (cordova.js, line 1054)
nativeCallback (cordova.js, line 1043)
--
This message was sent by Atlassian JIRA
(v6.2#6252)