Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.3

Bug #20143 Folders Missing
Submitted: 2013-12-06 18:51 UTC
From: moonthug Assigned:
Status: Open Package: File_Find (version 1.3.2)
PHP Version: 5.4.9 OS: Ubuntu
Roadmaps: (Not assigned)    
Subscription  


 [2013-12-06 18:51 UTC] moonthug (Alex Coulcher)
Description: ------------ Had a folder structure that consisted of nested directories with numerical folder names with further nested directories that also had numerical names. When calling 'File_Find::mapTreeMultiple' on the directory, I found that the returned array was missing indexes for some of the second level directories and files. For instance, File_Find::mapTreeMultiple('/root'), the nested array result for the path /root/3/ returned array(1 => .., 3=> .., 5=> .. etc), missing a few of the subdirectories and files within that directory. Prefixing subdirectories remedied the situation i.e. /root/3/item_1, /root/3/item_2. example directory structure... ?? root ??? 1 ?   ??? content.png ??? 2 ?   ??? 1 ?   ?   ??? content.png ?   ??? 2 ?   ?   ??? content.png ?   ??? 3 ?   ?   ??? content.png ?   ??? 4 ?   ?   ??? content.png ?   ??? 5 ?   ?   ??? content.png ?   ??? 6 ?   ?   ??? content.png ?   ??? 7 ?   ??? content.png ??? 3 ? ??? _background.png ?   ??? 1 ?   ?   ??? content.png ?   ??? 2 ?   ?   ??? content.png ?   ??? 3 ?   ?   ??? content.png ?   ??? 4 ?   ?   ??? content.png ?   ??? 5 ?   ?   ??? content.png ?   ??? 4 ?   ?   ??? content.png ?   ??? 5 ?   ?   ??? content.png ?   ??? 6 ?   ?   ??? content.png ?   ??? 7 ?   ??? content.png ??? 4 ?   ??? _background.png ?   ??? 1 ?   ??? content.png ??? 5 ?   ??? _background.png ?   ??? 1 ?   ?   ??? Content.png ?   ??? 2 ?   ?   ??? content.png ?   ??? 3 ?   ?   ??? content.png ?   ??? 4 ?   ??? content.png ...

Comments