EDMIService: Make GetVirtualPath return nothing if not virtual path was configured
This commit is contained in:
parent
cdd086389b
commit
470c899400
@ -121,8 +121,8 @@ Namespace Methods.GlobalIndexer.ImportFile
|
|||||||
Dim oAutoAttributeDict = Helpers.UserAttributesToDictionary(pAutoAttributes)
|
Dim oAutoAttributeDict = Helpers.UserAttributesToDictionary(pAutoAttributes)
|
||||||
|
|
||||||
If pPathConvention Is Nothing OrElse pPathConvention = String.Empty Then
|
If pPathConvention Is Nothing OrElse pPathConvention = String.Empty Then
|
||||||
Logger.Warn("Virtual path template for File [{0}] was empty. Returning empty string.", pFileInfo.Name)
|
Logger.Warn("Virtual path template for File [{0}] was empty. Returning nothing.", pFileInfo.Name)
|
||||||
Return String.Empty
|
Return Nothing
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user