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)
|
||||
|
||||
If pPathConvention Is Nothing OrElse pPathConvention = String.Empty Then
|
||||
Logger.Warn("Virtual path template for File [{0}] was empty. Returning empty string.", pFileInfo.Name)
|
||||
Return String.Empty
|
||||
Logger.Warn("Virtual path template for File [{0}] was empty. Returning nothing.", pFileInfo.Name)
|
||||
Return Nothing
|
||||
|
||||
End If
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user