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

ASF subversion and git services commented on CB-4017:
-----------------------------------------------------

Commit 34e49e0c1b3c38088a13a2b53f454cf930dd8484 in branch refs/heads/master 
from [~max.woghiren]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=34e49e0 ]

[CB-4017] Fixed behavior of DirectoryReader.

DirectoryReader.readEntries now returns all entries on the first call and an 
empty list on all subsequent calls.  (Technically, it returns batches of 
entries until they're all returned, then returning an empty list; this 
implementation just passes them all in one batch.)

                
> DirectoryReader.readEntries incorrectly returns all entries on each call
> ------------------------------------------------------------------------
>
>                 Key: CB-4017
>                 URL: https://issues.apache.org/jira/browse/CB-4017
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Max Woghiren
>            Assignee: Max Woghiren
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> According to the [W3C 
> spec|http://www.w3.org/TR/file-system-api/#the-directoryreader-interface], 
> DirectoryReader.readEntries should return Entries in blocks, eventually 
> returning an empty list (once all Entries have been returned).
> The current implementation simply returns the entire list of Entries each 
> time it's called.

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

Reply via email to