Convert the '*.*' wildcard to '*' before the CifsHelper call as the getNodeRefs() call will return no files/folders.

Fix for AR-1606.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2007-07-16 15:06:02 +00:00
parent 5ade7cb377
commit aa5a8e5b9d

View File

@@ -848,6 +848,11 @@ public class ContentDiskDriver extends AlfrescoDiskDriver implements DiskInterfa
} }
} }
// Convert the all files wildcard
if ( searchFileSpec.equals( "*.*"))
searchFileSpec = "*";
// Perform the search // Perform the search
List<NodeRef> results = cifsHelper.getNodeRefs(searchRootNodeRef, searchFileSpec); List<NodeRef> results = cifsHelper.getNodeRefs(searchRootNodeRef, searchFileSpec);