You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/10/28 17:36:34 UTC
[jira] [Commented] (CB-4674) (Docs) FileTransfer: description for
upload() success callback is wrong
[ https://issues.apache.org/jira/browse/CB-4674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187054#comment-14187054 ]
ASF GitHub Bot commented on CB-4674:
------------------------------------
GitHub user svkirans opened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/46
Fix for CB-4674
Fix for https://issues.apache.org/jira/browse/CB-4674
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/svkirans/cordova-plugin-file-transfer master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/46.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 #46
----
commit 4879a0955334a7fee11cfbc89dd8815021c3a978
Author: Kiran <sv...@gmail.com>
Date: 2014-10-28T16:32:25Z
Fix for https://issues.apache.org/jira/browse/CB-4674
https://issues.apache.org/jira/browse/CB-4674
----
> (Docs) FileTransfer: description for upload() success callback is wrong
> -----------------------------------------------------------------------
>
> Key: CB-4674
> URL: https://issues.apache.org/jira/browse/CB-4674
> Project: Apache Cordova
> Issue Type: Bug
> Components: Docs, Plugin File Transfer
> Affects Versions: 2.9.0
> Reporter: Shingo Toda
> Assignee: Michael Brooks
> Priority: Minor
>
> In description of parameter for FileTransfer.upload method, it is said that _Metadata_ object is passed to specified success callback function. But I think _FileUploadResult_ object is passed.
> {quote}
> h2.upload
> h3.Parameters:
> * *filePath*: Full path of the file on the device.
> * *server*: URL of the server to receive the file, as encoded by encodeURI().
> * *successCallback*: A callback that is passed a _Metadata_ object. (Function)
> {quote}
--
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