[
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