[
https://issues.apache.org/jira/browse/CB-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-8014.
---------------------------------
Resolution: Fixed
Merged, thanks [~marti1125]
> 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]