[ https://issues.apache.org/jira/browse/CB-8589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386579#comment-14386579 ]
ASF GitHub Bot commented on CB-8589: ------------------------------------ GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/75 CB-8589 Fixes upload failure when server's response doesn't contain any data You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer CB-8589 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file-transfer/pull/75.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #75 ---- commit c084bf7b33f60723e238752e787584ae8efe75e6 Author: Vladimir Kotikov <v-vlk...@microsoft.com> Date: 2015-03-30T10:56:51Z CB-8589 Fixes upload failure when server's response doesn't contain any data ---- > Cordova no success callback on WP81 > ------------------------------------ > > Key: CB-8589 > URL: https://issues.apache.org/jira/browse/CB-8589 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File Transfer > Environment: Windows Phone 8.1 > Reporter: Bodo Probst > Assignee: Vladimir Kotikov > > The success callback in fileTransfer.upload() is not call, when the server > does not respond with data, but only with a httpResonseStatus. > The call to (FileTransferProxy.js::167) > reader.loadAsync(result.progress.bytesReceived).then(function(size) > fails with exception, when bytesReceived == 0 > On Android, the callback is called correctly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org