Community
Participate
Working Groups
I am calling IRemoteFileSubSystem.list on the "Local" file subsystem with the following parameters: 1) a folder containing a file foo.c and 3 subfolders: foo1, foo2, foo3 2) a file name filter "foo.c" 3) IFileService.FILE_TYPE_FILES_AND_FOLDERS 4) some progress monitor I only get the file "foo.c" as the result. I would expect to get the file foo.c along with all the subfolders since I asked for both files and folders. The file name filter should only apply to FILES.
There are several different implementations of how the filtering is handled (in SftpFileService, FTPService, DStoreFileService and its associated miner, and LocalFileService). Apparently the LocalFileService variant is buggy and should be fixed. Converging to the same implementation in all variants would be desired.
This should be a REALLY simple bug for beginners to start with, since they can easily review the proper implementation from SftpFileService or FTPService.
Although it's a good bugday candidate, the requestor needs a fix for this soon so I'm going to take care of it now.
I've committed the fix to cvs.