cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10253) file-transfer upload deletes original file on exception
Date Wed, 23 Dec 2015 14:03:46 GMT

     [ https://issues.apache.org/jira/browse/CB-10253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davide updated CB-10253:
------------------------
    Environment: Windows Phone 8.1, Nokia Lumia 520

> file-transfer upload deletes original file on exception
> -------------------------------------------------------
>
>                 Key: CB-10253
>                 URL: https://issues.apache.org/jira/browse/CB-10253
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 3.5.0
>         Environment: Windows Phone 8.1, Nokia Lumia 520
>            Reporter: Davide
>
> In FileTransferProxy.js on line 219
>                                 // Cleanup, remove incompleted file
>                                 getTransferError.then(function(transferError) {
>                                     storageFile.deleteAsync().then(function() {
>                                         errorCallback(transferError);
>                                     });
>                                 });
> This shouldn't happen when you're uploading files. Upload was probably copy-pasta from
Download.



--
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


Mime
View raw message