[ 
https://issues.apache.org/jira/browse/CB-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226483#comment-14226483
 ] 

ASF GitHub Bot commented on CB-8014:
------------------------------------

GitHub user marti1125 opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/51

    [CB-8014] fileKey option is being sent with a wrong value due to a mistake 
in the code

    https://issues.apache.org/jira/browse/CB-8014
    I updated array

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/marti1125/cordova-plugin-file-transfer CB-8014

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/51.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 #51
    
----
commit 27c01daf0074ca332f018fffc0e899f7b4fe3e80
Author: Willy Aguirre <[email protected]>
Date:   2014-11-26T16:44:19Z

    update array

----


> fileKey option is being sent with a wrong value due to a mistake in the code
> ----------------------------------------------------------------------------
>
>                 Key: CB-8014
>                 URL: https://issues.apache.org/jira/browse/CB-8014
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry, FirefoxOS
>            Reporter: Felipe Lima
>              Labels: easyfix
>
> fileKey option is being sent with a wrong value due to a mistake in the code 
> for BlackBerry10 and FirefoxOS.
> BlackBerry10:
> {code:title=www/blackberry10/xhrFileTransfer.js|borderStyle=solid}
> ...
> upload: function(win, fail, args) {
>     var filePath = args[0],
>         server = args[1],
>         fileKey = args[9],    // Here is the mistake. The index should be 2.
>         fileName = args[3],
>         mimeType = args[4],
> ...
> {code}
> FirefoxOS:
> {code:title=www/firefoxos/FileTransferProxy.js|borderStyle=solid}
> ...
> upload: function(successCallback, errorCallback, args) {
>     var filePath = args[0],
>         server = args[1],
>         fileKey = args[9],    // Here is the mistake. The index should be 2.
>         fileName = args[3],
>         mimeType = args[4],
> ...
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to