cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Roizman (JIRA)" <>
Subject [jira] [Created] (CB-6750) FileTransfer Download null errors
Date Sat, 24 May 2014 02:02:01 GMT
Daniel Roizman created CB-6750:

             Summary: FileTransfer Download null errors 
                 Key: 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

View raw message