Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2239AE42B for ; Tue, 5 Feb 2013 18:34:13 +0000 (UTC) Received: (qmail 62031 invoked by uid 500); 5 Feb 2013 18:34:12 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 61989 invoked by uid 500); 5 Feb 2013 18:34:12 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 61980 invoked by uid 500); 5 Feb 2013 18:34:12 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 61977 invoked by uid 99); 5 Feb 2013 18:34:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 18:34:12 +0000 Date: Tue, 5 Feb 2013 18:34:12 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2226) FileTransfer.abort -- successfully aborting actually calls the error callback. Nothing ever gets called for the success callback. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571557#comment-13571557 ] Shazron Abdullah commented on CB-2226: -------------------------------------- Not sure about a use case, for iOS. Looking at the iOS code, I can't really see where the abort can fail (except for the delegate being nil) -- so I think it makes sense to remove the callbacks for abort. Not sure about the other platforms. > FileTransfer.abort -- successfully aborting actually calls the error callback. Nothing ever gets called for the success callback. > --------------------------------------------------------------------------------------------------------------------------------- > > Key: CB-2226 > URL: https://issues.apache.org/jira/browse/CB-2226 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Priority: Minor > Fix For: 2.5.0 > > > See: https://github.com/apache/cordova-ios/blob/adf226876d03723b89b4e3a9d2e9d0cfa8f2eb07/CordovaLib/Classes/CDVFileTransfer.m#L315 > The mobile spec tests only calls abort with no parameters, thus this problem was never detected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira