Merge branch 'master' of http://dd-vmp07-com04:3000/AppStd/Monorepo
This commit is contained in:
@@ -766,15 +766,15 @@ Public Class Windream
|
||||
'If UsesDriveLetter Then
|
||||
' Remove Driveletter eg. W:\
|
||||
If oNormalizedPath.StartsWith($"{ClientDriveLetter}:\") Then
|
||||
_logger.Debug($"Replacing ClientDriveLetter: [{ClientDriveLetter}]")
|
||||
oNormalizedPath = oNormalizedPath.Substring(ClientDriveLetter.Length + 2)
|
||||
End If
|
||||
_logger.Debug($"Replacing ClientDriveLetter: [{ClientDriveLetter}]")
|
||||
oNormalizedPath = oNormalizedPath.Substring(ClientDriveLetter.Length + 2)
|
||||
End If
|
||||
'Else
|
||||
If oNormalizedPath.ToLower.StartsWith(ClientBasePath.ToLower) Then
|
||||
_logger.Debug($"Replacing ClientBasePath: [{ClientBasePath}]")
|
||||
' Remove Windream Base Path eg. \\windream\objects\
|
||||
oNormalizedPath = oNormalizedPath.Substring(ClientBasePath.Length - 1)
|
||||
End If
|
||||
_logger.Debug($"Replacing ClientBasePath: [{ClientBasePath}]")
|
||||
' Remove Windream Base Path eg. \\windream\objects\
|
||||
oNormalizedPath = oNormalizedPath.Substring(ClientBasePath.Length - 1)
|
||||
End If
|
||||
'End If
|
||||
|
||||
oNormalizedPath = oNormalizedPath.Replace("\\", "\")
|
||||
@@ -1470,6 +1470,7 @@ Public Class Windream
|
||||
End If
|
||||
|
||||
If TestObjectExists(ObjectName, ObjectType) = False Then
|
||||
_logger.Warn("GetObjectByName: Object {0} does not exist!", ObjectName)
|
||||
Return Nothing
|
||||
End If
|
||||
|
||||
@@ -1488,6 +1489,7 @@ Public Class Windream
|
||||
End If
|
||||
|
||||
If TestObjectExists(ObjectName, ObjectType) = False Then
|
||||
_logger.Warn("GetObjectByPath: Object {0} does not exist!", ObjectName)
|
||||
Return Nothing
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user