You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2013/02/15 01:47:12 UTC

[jira] [Comment Edited] (CB-2212) FileSystem getFile() call never finds file on WP8 as isolated storage is empty

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

Jesse MacFadyen edited comment on CB-2212 at 2/15/13 12:45 AM:
---------------------------------------------------------------

c9133fe9bbe8d1ee8283a55b05f67d7b7e2a1d2c

Resource packed files are readonly!
                
      was (Author: purplecabbage):
    c9133fe9bbe8d1ee8283a55b05f67d7b7e2a1d2c
                  
> FileSystem getFile() call never finds file on WP8 as isolated storage is empty
> ------------------------------------------------------------------------------
>
>                 Key: CB-2212
>                 URL: https://issues.apache.org/jira/browse/CB-2212
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 2.3.0
>            Reporter: Michael Fry
>            Assignee: Jesse MacFadyen
>             Fix For: 2.5.0
>
>
> In attempting read a file included in my www folder I was continually returned an error code of 0.  In digging in it appears it was due to file not found.
> In the GapBrowser_Loaded handler there is a large chunk of commented out code that notes that in WP8 "isolated storage is no more required in WP8". It appears that this suppresses the loading of isolated storage because when I view my emulator using WP power tools it is empty.
> The file i/o code in File.cs reads/writes using isolated storage.  Without the www files being loaded at startup it will never be able to make the reads from things like settings or readme files.
> After uncommenting the code and creating a CordovaSourceDictionary.xml file I was able to load isolated storage. File reads then worked as designed.

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