You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/06/19 17:40:24 UTC

[jira] [Commented] (CB-6980) [WP8][cordova-plugin-file] resolveLocalFileSystemURI returns an entry with filesystem: null

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

ASF GitHub Bot commented on CB-6980:
------------------------------------

GitHub user martincgg opened a pull request:

    https://github.com/apache/cordova-plugin-file/pull/53

    CB-6980 Fixing filesystem:null property in Entry

    when resolveLocalFileSystemURI or resolveLocalFileSystemURL is called on
    the File Plugin under Windows Phone 8, on success it should return a
    Entry with several properties, as it is the filesystem information,
    which returns as null.
    on resolveLocalFileSystemURI.js it calls fileSystem.getFS the object
    retrieved it should contain the filesystem information.
    Since the fix, CB-6525, only adds support for Android and iOS, for other
    platform it retrieves a null object, so adding a condition to retrieve
    the information if the object from the callback is null.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/martincgg/cordova-plugin-file CB-6980

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file/pull/53.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #53
    
----
commit 4f455ac3efe64caede6cbaff9d7c638caf6e5392
Author: Martin Gonzalez <ma...@gmail.com>
Date:   2014-06-19T15:38:20Z

    CB-6980 Fixing filesystem:null property in Entry
    
    when resolveLocalFileSystemURI or resolveLocalFileSystemURL is called on
    the File Plugin under Windows Phone 8, on success it should return a
    Entry with several properties, as it is the filesystem information,
    which returns as null.
    on resolveLocalFileSystemURI.js it calls fileSystem.getFS the object
    retrieved it should contain the filesystem information.
    Since the fix, CB-6525, only adds support for Android and iOS, for other
    platform it retrieves a null object, so adding a condition to retrieve
    the information if the object from the callback is null.

----


> [WP8][cordova-plugin-file] resolveLocalFileSystemURI returns an entry with filesystem: null
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-6980
>                 URL: https://issues.apache.org/jira/browse/CB-6980
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, WP8
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>            Assignee: Martin Gonzalez
>              Labels: WP8, plugin-file
>             Fix For: 3.6.0
>
>
> I have notice, when resolveLocalFileSystemURI or resolveLocalFileSystemURL is called on the File Plugin under Windows Phone 8, it always returns a fileEntry with null information on the filesystem.
> This behavior is unexpected the filesystem information it shouldn't be null if a Entry Object is created.
> Found through mobile-spec File tests, affecting operations as removeRecursively on DirectoryEntry, and remove on Entry.
> It might be reproduce by other means or scenarios.



--
This message was sent by Atlassian JIRA
(v6.2#6252)