Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36D19DF42 for ; Sat, 7 Jul 2012 00:47:35 +0000 (UTC) Received: (qmail 22345 invoked by uid 500); 7 Jul 2012 00:47:35 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 22299 invoked by uid 500); 7 Jul 2012 00:47:35 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 22288 invoked by uid 99); 7 Jul 2012 00:47:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2012 00:47:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A917C14035F for ; Sat, 7 Jul 2012 00:47:34 +0000 (UTC) Date: Sat, 7 Jul 2012 00:47:34 +0000 (UTC) From: "Stephen McKamey (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1151596606.17447.1341622054694.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (CB-1015) File Upload does not send additional fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stephen McKamey created CB-1015: ----------------------------------- Summary: File Upload does not send additional fields Key: CB-1015 URL: https://issues.apache.org/jira/browse/CB-1015 Project: Apache Cordova Issue Type: Bug Components: iOS Affects Versions: 1.9.0 Environment: iOS 5.1.1 Reporter: Stephen McKamey Assignee: Shazron Abdullah Priority: Blocker Similar code using the pattern below used to work in previous versions. Trying to upgrade to the latest and noticed this issue. Cannot seem to work around it. The file binary posts fine but there are no additional fields despite the options object specifying 'params': var options = new FileUploadOptions(); options.fileKey = 'file'; options.fileName = imageURI; options.mimeType = 'image/jpeg'; options.params = { key1: 'value1', key2: 'value2' }; new FileTransfer().upload( imagePath, remoteURL, successFn, errorFn, options); This currently prevents upload to any server which requires a single multipart body. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira