André van der Plas created CB-6036: --------------------------------------
Summary: FileTransfer multiple files doesn't work on WP8 Key: CB-6036 URL: https://issues.apache.org/jira/browse/CB-6036 Project: Apache Cordova Issue Type: Bug Components: WP8 Affects Versions: 3.3.0 Reporter: André van der Plas Assignee: Jesse MacFadyen I was trying to upload multiple photos on my WP8 testing device, but the files weren't sent. It worked on my ios and android environments though. Also posting one photo did work on the WP8 device. After debugging I found out that inside the FileTransfer plugin there was a problem with the callback id's not being used correctly. The moment one thread finished uploading, multiple threads started using the same callback id. In the end I fixed this issue by adding a (probably missing parameter) inside the ReadCallback method. I changed DispatchCommandResult(new PluginResult(PluginResult.Status.OK, new FileUploadResult(bytesSent, (long)response.StatusCode, responseString))); Into DispatchCommandResult(new PluginResult(PluginResult.Status.OK, new FileUploadResult(bytesSent, (long)response.StatusCode, responseString)), reqState.options.CallbackId); -- This message was sent by Atlassian JIRA (v6.1.5#6160)