You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wema Wuyts (JIRA)" <ji...@apache.org> on 2015/11/09 15:40:11 UTC

[jira] [Created] (CB-9969) Windows filetransfer upload error deletes original file.

Wema Wuyts created CB-9969:
------------------------------

             Summary: Windows filetransfer upload error deletes  original file. 
                 Key: CB-9969
                 URL: https://issues.apache.org/jira/browse/CB-9969
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
         Environment: windows
            Reporter: Wema Wuyts


The upload function on windows has an onerror handler:
  getTransferError.then(function(transferError) {
    storageFile.deleteAsync().then(function() {
    errorCallback(transferError);
  });
});
think this should be :
 getTransferError.then(function(transferError) {
     errorCallback(transferError);
});




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org