cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2226) FileTransfer.abort -- successfully aborting actually calls the error callback. Nothing ever gets called for the success callback.
Date Wed, 13 Mar 2013 01:54:12 GMT

    [ https://issues.apache.org/jira/browse/CB-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600714#comment-13600714
] 

Andrew Grieve commented on CB-2226:
-----------------------------------

Let's remove both callbacks. The callbacks on the original upload()/download() call will be
called when the abort() takes effect.
                
> 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.6.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

Mime
View raw message