mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
CIFS - the root node should not have a name.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31537 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -679,6 +679,14 @@ public class ContentDiskDriver2 extends AlfrescoDiskDriver implements ExtendedD
|
||||
// Get the file information for the node
|
||||
|
||||
finfo = getCifsHelper().getFileInformation(nodeRef, false, isLockedFilesAsOffline);
|
||||
|
||||
/**
|
||||
* Special processing for root node
|
||||
*/
|
||||
if(path.equals(FileName.DOS_SEPERATOR_STR))
|
||||
{
|
||||
finfo.setFileName("");
|
||||
}
|
||||
|
||||
// DEBUG
|
||||
if ( logger.isDebugEnabled())
|
||||
@@ -2995,6 +3003,11 @@ public class ContentDiskDriver2 extends AlfrescoDiskDriver implements ExtendedD
|
||||
catch(IOException ne)
|
||||
{
|
||||
// Do nothing
|
||||
if ( logger.isDebugEnabled())
|
||||
{
|
||||
logger.debug("Unable to delete empty file:" + path, ne);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user