cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boston Dell-Vandenberg (JIRA)" <>
Subject [jira] [Commented] (CB-5899) FileError code 5 returned with dirEntry.readEntries()
Date Wed, 05 Feb 2014 14:36:09 GMT


Boston Dell-Vandenberg commented on CB-5899:

I had success with the "Compatibility" value, was able to get the root listing and sub directories.
Thank you!

However, "Internal" value did not work. I get an empty array reading the file system root.
This was tested in a fresh cordova project newly installed on a device.

> FileError code 5 returned with dirEntry.readEntries()
> -----------------------------------------------------
>                 Key: CB-5899
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File
>    Affects Versions: 3.3.0
>         Environment: Android 4.1, Android 4.4
>            Reporter: Boston Dell-Vandenberg
>            Assignee: Ian Clelland
> When attempting to read entries of a DirectoryEntry from the local file system the plugin
returns an FileError code 5.
> I am able to successfully read the root directory of the local file system using window.requestFileSystem()
but creating a directoryReader and calling readEntries() of any sub directories of the root
file system results in the error.
> I am using Cordova 3.3 and have tried both 0.2.5 of the file plugin as well as the current
Dev branch.

This message was sent by Atlassian JIRA

View raw message