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 D3A679305 for ; Fri, 13 Apr 2012 14:24:38 +0000 (UTC) Received: (qmail 9026 invoked by uid 500); 13 Apr 2012 14:24:38 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 8991 invoked by uid 500); 13 Apr 2012 14:24:38 -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 8982 invoked by uid 99); 13 Apr 2012 14:24:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 14:24:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 14:24:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8D1B836996A for ; Fri, 13 Apr 2012 14:24:17 +0000 (UTC) Date: Fri, 13 Apr 2012 14:24:17 +0000 (UTC) From: "Simon MacDonald (Resolved) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <803531171.22126.1334327057579.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1631116266.21020.1334302475108.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-498) Incorrect documentation for FileTransfer.upload and FileTransfer.download methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-498?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald resolved CB-498. -------------------------------- Resolution: Fixed Fix Version/s: 1.6.1 I'm sure I had fixed this previously but it appears to have been lost someh= ow. =20 > Incorrect documentation for FileTransfer.upload and FileTransfer.download= methods > -------------------------------------------------------------------------= -------- > > Key: CB-498 > URL: https://issues.apache.org/jira/browse/CB-498 > Project: Apache Callback > Issue Type: Bug > Components: Docs > Affects Versions: 1.6.0 > Environment: http://docs.phonegap.com/en/1.6.0/cordova_file_file.= md.html#FileTransfer > Reporter: Wouter > Assignee: Simon MacDonald > Priority: Trivial > Fix For: 1.6.1 > > > In the documentation for the FileTransfer method (http://docs.phonegap.co= m/en/1.6.0/cordova_file_file.md.html#FileTransfer) this is listed as part o= f the parameters for the upload method: > =E2=80=A2 successCallback - A callback that is called with a Metadata obj= ect. (Function)=20 > =E2=80=A2 errorCallback - A callback that is called if an error occurs re= trieving the Metadata. Invoked with a FileError object. (Function) > In my opinion this should be: > =E2=80=A2 successCallback - A callback that is called with a FileUploadRe= sult object. (Function)=20 > =E2=80=A2 errorCallback - A callback that is called if an error occurs re= trieving the Metadata. Invoked with a FileTransferError object. (Function) > In the documentation for the download method this is listed as part of th= e parameters: > =E2=80=A2 errorCallback - A callback that is called if an error occurs re= trieving the Metadata. Invoked with a FileError object. (Function)=20 > In my opinion this should be: > =E2=80=A2 errorCallback - A callback that is called if an error occurs re= trieving the Metadata. Invoked with a FileTransferError object. (Function) > =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira