incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-686) window.resolveLocalFileSystemURI doesn't always execute callbacks
Date Thu, 10 May 2012 18:14:55 GMT

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

Joe Bowser commented on CB-686:
-------------------------------

Can you work on a stand-alone example? Also, what does your console.log say?  We're running
ito a similar bug, and I want to see if the two are related, so I can merge this with the
other bug.
                
> window.resolveLocalFileSystemURI doesn't always execute callbacks
> -----------------------------------------------------------------
>
>                 Key: CB-686
>                 URL: https://issues.apache.org/jira/browse/CB-686
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0
>         Environment: Galaxt Tab 10.1 running Android 3.2
>            Reporter: Chris Smith
>            Assignee: Joe Bowser
>            Priority: Blocker
>
> I have a block of code that attempts to read a temp.json file that my application uses
to hold various pieces of information.
> However, intermittantly, the callbacks for window.resolveLocalFileSystemURI don't fire.
(Either success or fail?!)
> I've simplified the code to the following example below.
> Using the console.log I can see that on occasion, it doesn't get to line 3 - nor does
it call the error.
> I can't see anything to indicate why the callbacks are never triggered, nor why it might
do this intermittantly.
> console.log("1:Looking for workingdata in DIR:" + settingsDir);
> window.resolveLocalFileSystemURI("file://" + settingsDir, function(entry) {
> console.log("2:Resolved file system" + entry.fullPath);
> },fileSystemFail);
> function fileSystemFail(error) {
> console.log("A file system failure occured");
> console.log(error.code + ":" + lookupFileErrorCode(error.code)); 
> }

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

        

Mime
View raw message