cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10771) plugin-file-transfer upload on windows fails when params has a key with a null value
Date Mon, 28 Mar 2016 20:50:25 GMT

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

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

Github user rakatyal commented on the pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/133#issuecomment-202575695
  
    I tested it on Android and apparently we do accept non string values and I don't see any
reason why we should not. So your suggestion sounds fair to me. 


> plugin-file-transfer upload on windows fails when params has a key with a null value
> ------------------------------------------------------------------------------------
>
>                 Key: CB-10771
>                 URL: https://issues.apache.org/jira/browse/CB-10771
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 1.5.0
>         Environment: Windows, cordova 6.0.0
>            Reporter: Paul Hickman
>            Assignee: Raghav Katyal
>              Labels: windows
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> In the windows version of plugin-file-transfer, if you set the options such that a key
inside the params object has a null value: e.g.
> var options = { params: { keyName: null } }
> Then it will fail to upload with an INVALID_URL error because an exception occurs trying
to convert the key keyName into a transfer chunk.
> This does not cause an error in the ios or android versions.



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