mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -848,6 +848,11 @@ public class ContentDiskDriver extends AlfrescoDiskDriver implements DiskInterfa
|
||||
}
|
||||
}
|
||||
|
||||
// Convert the all files wildcard
|
||||
|
||||
if ( searchFileSpec.equals( "*.*"))
|
||||
searchFileSpec = "*";
|
||||
|
||||
// Perform the search
|
||||
|
||||
List<NodeRef> results = cifsHelper.getNodeRefs(searchRootNodeRef, searchFileSpec);
|
||||
|
Reference in New Issue
Block a user