Logging im Falle Vektor und Vorbelegung

This commit is contained in:
Developer01 2025-04-28 13:12:19 +02:00
parent 9e40e2eccd
commit b34a0780e7

View File

@ -873,10 +873,11 @@ Public Class frmIndex
' indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, oIndexName, oIndexValue, CURR_DOKART_OBJECTTYPE)
'Else
If oOverwrite = False And oExistingItems.Count > 0 Then
_Logger.Debug("oOverwrite = False and oExistingItems.Count > 0")
_Logger.Debug("oOverwrite = False and WMObject already contains [{0}] values in attribute,Values will be concatted", oExistingItems.Count)
oListofString = oExistingItems.Concat(oListofString).ToList()
End If
If oPreventMultipleValues = True Then
_Logger.Debug("Preventing multiple values in Vektor")
oListofString = oListofString.Distinct().ToList()
End If
indexierung_erfolgreich = WINDREAM.SetFileIndexLoS(CURRENT_NEWFILENAME, oIndexName, oListofString, CURR_DOKART_OBJECTTYPE)