Leere Strings (item_type = 0) nicht mehr in die DB schreiben

Kommentare korrigiert
This commit is contained in:
2025-06-26 14:47:30 +02:00
parent 2e0ae13a77
commit 0ed996100d
2 changed files with 11 additions and 5 deletions

View File

@@ -1157,6 +1157,12 @@ Public Class ImportZUGFeRDFiles
Continue For
End If
' ItemType = 0 (normale texte) dürfen nicht leer sein
If oProperty.ItemType = 0 And oProperty.Value.IsNullOrEmpty Then
_logger.Debug("No Mapping for Property [{0}] with empty value, because of ItemType = 0.", oProperty.TableColumn)
Continue For
End If
' If GroupCounter is -1, it means this is a default property that can only occur once.
' Set the actual inserted value to 0
Dim oGroupCounterValue As Integer = oProperty.GroupCounter