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/08/20 00:27:47 UTC

[jira] [Updated] (CB-3395) Don't write files to Windows.ApplicationModel.package.current.InstalledLocation

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

Jesse MacFadyen updated CB-3395:
--------------------------------

    Component/s: Plugin File
    
> Don't write files to Windows.ApplicationModel.package.current.InstalledLocation
> -------------------------------------------------------------------------------
>
>                 Key: CB-3395
>                 URL: https://issues.apache.org/jira/browse/CB-3395
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin File, Windows 8
>    Affects Versions: 2.7.0
>            Reporter: Hao Xu
>            Assignee: Jesse MacFadyen
>
> In the current cordova Windows 8 implementation, a lot of the temp files are written to packageId.path( Windows.ApplicationModel.package.current.InstalledLocation.path). From the MSDN document that storagefolder is readonly, but in debug mode, if the CreateFileAsync() is called with second parameter Windows.Storage.CreationCollisionOption.GenerateUniqueName , then CopyFileAsync/CreateFileAsync can create files and folders under installedLocation folder successfully. It's only a bug in debug mode. 
> So I don't think the cordova should write any date to packagetId.path, all the files should be written to folders under AppplicationData.
> ref: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/e1354247-9048-4507-ae30-ef0d67a3e80f

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