You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Dan Jordan (JIRA)" <ji...@apache.org> on 2012/09/27 17:08:08 UTC
[jira] [Created] (CB-1553) FileTransfer crashes
Dan Jordan created CB-1553:
------------------------------
Summary: 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: Filip Maj
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
[jira] [Commented] (CB-1553) FileTransfer crashes
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465623#comment-13465623 ]
Andrew Grieve commented on CB-1553:
-----------------------------------
Sorry, I should have elaborated. The fix is to either use the code from the 2.1.0 release for both the native side and the JS side, or if you want to run off of head, you need to build yourself a copy of the JS from head by following the instructions here: https://github.com/apache/incubator-cordova-js. running "jake" puts a copy of cordova.ios.js into the pkg/ directory. and you need to use that copy in your app.
> 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
[jira] [Commented] (CB-1553) FileTransfer crashes
Posted by "Dan Jordan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465478#comment-13465478 ]
Dan Jordan commented on CB-1553:
--------------------------------
Is there a fix for this then?
> 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
[jira] [Resolved] (CB-1553) FileTransfer crashes
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ 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