mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
58970: ALF-20668 - hidden Files not shown in CIFS-Client git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -106,10 +106,18 @@ public class NonTransactionalRuleContentDiskDriver implements ExtendedDiskInterf
|
||||
{
|
||||
logger.debug("getFileInformation:" + path);
|
||||
}
|
||||
FileFilterMode.setClient(ClientHelper.getClient(sess));
|
||||
try
|
||||
{
|
||||
FileInfo info = diskInterface.getFileInformation(sess, tree, path);
|
||||
|
||||
return info;
|
||||
}
|
||||
finally
|
||||
{
|
||||
FileFilterMode.clearClient();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int fileExists(SrvSession sess, TreeConnection tree, String path)
|
||||
@@ -536,11 +544,18 @@ public class NonTransactionalRuleContentDiskDriver implements ExtendedDiskInterf
|
||||
@Override
|
||||
public SearchContext startSearch(SrvSession sess, TreeConnection tree,
|
||||
String searchPath, int attrib) throws FileNotFoundException
|
||||
{
|
||||
FileFilterMode.setClient(ClientHelper.getClient(sess));
|
||||
try
|
||||
{
|
||||
SearchContext context = diskInterface.startSearch(sess, tree, searchPath, attrib);
|
||||
|
||||
return context;
|
||||
}
|
||||
finally
|
||||
{
|
||||
FileFilterMode.clearClient();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void truncateFile(SrvSession sess, TreeConnection tree,
|
||||
|
Reference in New Issue
Block a user