[
https://issues.apache.org/jira/browse/CB-13434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vishal Mishra closed CB-13434.
------------------------------
Resolution: Won't Fix
With the new features introduced in
[XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest],
this plugin is not needed any more. Migrating from this plugin to using the
new features of
[XMLHttpRequest|https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest],
is explained in this [Cordova blog
post|https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html].
> FileTransfer Plugin breaks sometimes because result is null
> -----------------------------------------------------------
>
> Key: CB-13434
> URL: https://issues.apache.org/jira/browse/CB-13434
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-file-transfer (DEPRECATED)
> Reporter: David Schumann
>
> Raw traceback:
> TypeError: null is not an object (evaluating 'result.lengthComputable')
> at win(/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:202:26)
> at callbackFromNative(/www/cordova.js:293:63)
> at ?
> (/www/plugins/cordova-plugin-wkwebview-engine/src/www/ios/ios-wkwebview-exec.js:132:32)
> at wrapped(raven.js:386:29)
> FileTransfer.js in win at line 202:26 result is null. I don't know when or
> why this happens. But when using `cordova-plugin-wkwebview-engine` and
> `cordova-labs-wkwebview-engine-localhost` it breaks in about 50% of cases.
> Edit:
> This error also occurs when not using the plugins mentioned above:
> TypeError: null is not an object (evaluating 'result.lengthComputable')
> at win(/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:202:26)
> at callbackFromNative(/www/cordova.js:293:63)
> at nc2(/www/cordova.js:1046:39)
> at wrapped(raven.js:386:29)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]