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,9 +106,17 @@ public class NonTransactionalRuleContentDiskDriver implements ExtendedDiskInterf
|
|||||||
{
|
{
|
||||||
logger.debug("getFileInformation:" + path);
|
logger.debug("getFileInformation:" + path);
|
||||||
}
|
}
|
||||||
FileInfo info = diskInterface.getFileInformation(sess, tree, path);
|
FileFilterMode.setClient(ClientHelper.getClient(sess));
|
||||||
|
try
|
||||||
return info;
|
{
|
||||||
|
FileInfo info = diskInterface.getFileInformation(sess, tree, path);
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
FileFilterMode.clearClient();
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -537,9 +545,16 @@ public class NonTransactionalRuleContentDiskDriver implements ExtendedDiskInterf
|
|||||||
public SearchContext startSearch(SrvSession sess, TreeConnection tree,
|
public SearchContext startSearch(SrvSession sess, TreeConnection tree,
|
||||||
String searchPath, int attrib) throws FileNotFoundException
|
String searchPath, int attrib) throws FileNotFoundException
|
||||||
{
|
{
|
||||||
SearchContext context = diskInterface.startSearch(sess, tree, searchPath, attrib);
|
FileFilterMode.setClient(ClientHelper.getClient(sess));
|
||||||
|
try
|
||||||
return context;
|
{
|
||||||
|
SearchContext context = diskInterface.startSearch(sess, tree, searchPath, attrib);
|
||||||
|
return context;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
FileFilterMode.clearClient();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user