[
https://issues.apache.org/jira/browse/CB-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227770#comment-14227770
]
ASF GitHub Bot commented on CB-8093:
------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/52
CB-8093 Fixes incorrect FileTransferError returned in case of download
failure
This fixes [CB-8093](https://issues.apache.org/jira/browse/CB-8093)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-file-transfer
CB-8093
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/52.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 #52
----
commit 80aa82802183f7b9794064fd984b1b646c0ecaaa
Author: Vladimir Kotikov <[email protected]>
Date: 2014-11-27T14:45:42Z
CB-8093 Fixes incorrect FileTransferError returned in case of download
failure
----
> File transfer plugin doesn't return response body in case of download failure
> -----------------------------------------------------------------------------
>
> Key: CB-8093
> URL: https://issues.apache.org/jira/browse/CB-8093
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer
> Reporter: Vladimir Kotikov
> Labels: file-transfer, windows
>
> In case of download error plugin's {{download()}} method should return a
> {{FileTransferError}} with responseText property, set to server's responce
> body but current implementation always returns an empty field.
> Can be reprod by filetransfer.spec.13
> {{should get response body on failure}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]