You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/09/27 18:40:10 UTC

[jira] [Resolved] (CB-1553) FileTransfer crashes

     [ https://issues.apache.org/jira/browse/CB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-1553.
-------------------------------

    Resolution: Invalid
      Assignee: Andrew Grieve  (was: Filip Maj)

Seems like this is coming up quite a bit. It's caused when you update your native code from HEAD (passed the 2.1.0 tag), but leave your cordova.js file at 2.1.0.
                
> FileTransfer crashes
> --------------------
>
>                 Key: CB-1553
>                 URL: https://issues.apache.org/jira/browse/CB-1553
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 2.1.0
>         Environment: iOS
>            Reporter: Dan Jordan
>            Assignee: Andrew Grieve
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> When uploading a file the app crashes on Line 250 of CDVFileTransfer.m ( NSString* objectId = [command.arguments objectAtIndex:9]; ) because there is no object at index 9.
> I've recreated the issue with a brand new PhoneGap 2.1.0 app and using the code from the 2.1.0 docs.

--
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