cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <>
Subject [jira] [Commented] (CB-5899) FileError code 5 returned with dirEntry.readEntries()
Date Wed, 29 Jan 2014 16:30:11 GMT


Ian Clelland commented on CB-5899:

I think I see the problem -- entries returned by readEntries() are not correctly formatted
-- they have no associated filesystem, so the nested call to createReader/readEntries will

I'll write up a quick unit test for it and see if I can get a fix in for you to test.

Thanks for the report!

> 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