You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/06/15 21:19:42 UTC
[jira] [Updated] (CB-864) Failure in writing a large file blocks
Cordova
[ https://issues.apache.org/jira/browse/CB-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-864:
--------------------------------
Summary: Failure in writing a large file blocks Cordova (was: Writing large file blocks Cordova)
> Failure in writing a large file blocks Cordova
> ----------------------------------------------
>
> Key: CB-864
> URL: https://issues.apache.org/jira/browse/CB-864
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.7.0
> Environment: Reproduced on two environments - iOS version: 5.1 (272.21) simulator (on OS X 10.7.3) AND iOS version: 5.1.1.
> Cordova 1.7.0
> Reporter: Mikael Andersson
> Assignee: Shazron Abdullah
> Priority: Critical
> Fix For: 1.9.0
>
>
> The write method never returns/throws when trying to write a ~3 MB file. After write is called, a message is logged: "FAILED pluginJSON = { "className": "File", "methodName": "write" ... and then the contents of the file!
> After the writing the file to the log, the following is written: "void SendDelegateMessage(NSInvocation*): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode"
> There are multiple issues:
> 1. The file should not be written to the log.
> 2. I have not found any way to inhibit logging (which could have been a workaround).
> 3. The call must return or throw.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira