Servigistics InService Anpassung > CSV-Validierungen anpassen > Benutzerdefinierte Validierungen für CSV-Dateien konfigurieren > Standardvalidierungen für CSV-Dateien
  
Standardvalidierungen für CSV-Dateien
Alle Validierungen für CSV-Dateien (durch Kommata getrennte Werte) sind in der Standardkonfigurationsdatei customizedContext_XX.conf.xml im Verzeichnis <INS_HOME>/ InS_SW/SW/Config/System/Config eingeschlossen. Im Dateinamen customizedContext_XX.conf.xml entspricht XX einem numerischen Wert, der standardmäßig dem Konfigurationsdateinamen angehängt wird.
Standardmäßig enthält die Datei die folgenden Validierungen für CSV-Dateien:
Validierungstyp
Validierungskriterien (Klasse)
Beschreibung der Validierungskriterien
Validierungsbeschreibung
Lösung
Validierungscode
Fehler
com.ptc.csvtoinservice.validation.DataEncodingValidator
Prüfen Sie, ob alle Dateien im Eingabebündel UTF-8-konform sind.
CSV file has the wrong encoding.
File $FILE_NAME (such as OptionsChoicesDefinition.csv) must be encoded in UTF8.
101
Fehler
com.ptc.csvtoinservice.validation.MandatoryColumnValidator
Prüfen Sie, ob die Eingabedateien alle erforderlichen Spalten enthalten, die in der Struktur erwartet werden.
Column is mandatory.
Mandatory column $NAME is missing in $FILE_NAME. For example, column Option_Code is missing in OptionsChoicesDefinition.csv file.
201
Fehler
com.ptc.csvtoinservice.validation.MandatoryColumnValidator
Prüfen Sie, ob alle erforderlichen Spalten Inhalt enthalten.
Content is missing for some of the mandatory columns specified on the file header.
Row $ROW_NUMBER content in $FILE_NAME is missing some column information. For example, Row 2 content in hotspot.csv is missing some columns information.
202
Fehler
com.ptc.csvtoinservice.validation.EmptyLineValidator
Prüfen Sie, ob alle Dateien im Eingabebündel keine leeren Zeilen in der Dateimitte oder am Dateiende enthalten.
CSV file contains empty lines.
Remove empty line $LINE_NUMBERs. For example, remove empty line 6 in xml.csv file.
301
Fehler
com.ptc.csvtoinservice.validation.DuplicateEntryValidator
Prüfen Sie, ob alle Dateien im Eingabebündel keine doppelten Einträge enthalten (Einträge mit demselben Inhalt für alle Spalten).
CSV file contains duplicate lines.
Lines $LINE_NUMBERS in $FILE_NAME are identical. Remove the duplicate line. For example, lines 24 and 25 in ProductInstance.csv file are identical. Remove the duplicate line.
401
Fehler
com.ptc.csvtoinservice.validation.ContextValidator
Prüfen, ob der Kontext oder die Sammlung in CSV-Bündel angegeben wird (in den Dateien "properties.csv" oder "toc.csv").
Context is missing in the CSV bundle.
No context or collection ID is specified in CSV bundle (in either properties.csv or toc.csv).
501
Fehler
com.ptc.csvtoinservice.validation.ContextValidator
Prüfen Sie, ob der Kontext und die Sammlungs-IDs, die in der Datei "properties.csv" angegeben werden, in der vordefinierten Liste der Sammlungen vorhanden sind.
Context or Collection does not exist in InService.
$CONTEXT_ID or $COLLECTION_ID context or collection ID is not specified in the properties.csv or toc.csv file. All Collections and Contexts must be pre-defined in the system.
502
Fehler
com.ptc.csvtoinservice.validation.BundleCreationDateValidator
Prüfen Sie, ob das Erstellungsdatum, das in der Datei properties.csv angegeben ist, nicht älter als das zuvor geladene Bündel ist.
Same bundle is already loaded with later creation date.
Creation Date value in the properties.csv file must be greater or equal to the already loaded bundle Creation Date.
601
Fehler
com.ptc.csvtoinservice.validation.IEFileValidator
Prüfen Sie, ob jeder der Dateinameneinträge, die in den Zuordnungsdateien (xml/pdf/image/graphics.csv) angegeben sind, im jeweiligen PDF/XML/GRAPHIC/IMAGE-Ordner im Bündel vorhanden ist.
File referenced in the IE mapping file is not found in respective PDF/XML/GRAPHIC/IMAGE folder.
File specified in $COLUMN_NAME column on $FILE_NAME mapping file does not exist and must be added to the bundle. For example, file specified in Name_ja column on pdf.csv mapping file does not exist and must be added to the bundle.
701
Warnung
com.ptc.csvtoinservice.validation.ImageCodeValidator
Prüfen Sie, ob jeder Bildcodeeintrag, der in "producthierarchy.csv", "toc.csv", "assembly.csv" oder "part.csv" angegeben ist, in "Image.csv" vorhanden ist.
Image code is not found in image.csv.
Image code $IMAGE_CODE in $FILE_NAME does not exist in image.csv. It must be added to the bundle. For example. image code GIGC55 in the toc.csv file does not exist in the image.csv file. It must be added to the bundle.
801
Fehler
com.ptc.csvtoinservice.validation.ApplicabilitySyntaxValidator
Prüfen Sie, ob der Anwendbarkeitsspaltenausdruck eine gültige schließende Klammer für jede öffnende Klammer enthält.
Invalid APEX brackets syntax in Applicability column.
Brackets are missing in Applicability syntax information in $FILE_NAME. For example, brackets are missing in Applicability syntax information in producthierarchy.csv.
901
Fehler
com.ptc.csvtoinservice.validation.ApplicabilitySyntaxValidator
Prüfen Sie, ob der Anwendbarkeitsausdruck eine gültige Anführungszeichensyntax (einfaches Anführungszeichen) enthält.
Invalid APEX quote syntax in Applicability column.
The Applicability column syntax in the line $ROW_NUMBER of $FILE_NAME contains single quote. For example, the Applicability column syntax in the line 5 of assembly.csv file contains single quote.
902
Fehler
com.ptc.csvtoinservice.validation.ApplicabilitySyntaxValidator
Prüfen Sie, ob der Anwendbarkeitsspaltenausdruck eine gültige Suchbegriffssyntax (an der richtigen Position) enthält.
Invalid APEX keyword syntax in Applicability column.
Correct the Applicability column keywords syntax in the line $ROW_NUMBER of $FILE_NAME. For example, correct the position of keyword syntax in the line number 5 of assembly.csv file.
903
Fehler
com.ptc.csvtoinservice.validation.ApplicabilitySyntaxValidator
Prüfen Sie, ob der Anwendbarkeitsspaltenausdruck gültige Suchbegriffe enthält.
Invalid APEX keywords syntax in Applicability column.
Correct the Applicability column keywords in the line $ROW_NUMBER of $FILE_NAME. For example, correct the Applicability column keywords in the line number 5 of assembly.csv file.
904
Fehler
com.ptc.csvtoinservice.validation.ApplicabilityContentValidator
Prüfen Sie, ob der Anwendbarkeitsspaltenausdruck eine gültige Datumsgültigkeitssyntax enthält.
Invalid Date Effectivity syntax in Applicability column.
Correct the Date Effectivity syntax in the Applicability column in line $ROW_NUMBER of $FILE_NAME. For example, correct the Date Effectivity syntax in the Applicability column in line 4 of assembly.csv file.
1001
Fehler
com.ptc.csvtoinservice.validation.ApplicabilityContentValidator
Prüfen Sie, ob der Anwendbarkeitsausdruck gültige Produktwerte enthält.
The product specified in Applicability column does not exist in the system.
PRODUCT $PRODUCT_VALUE specified in line $ROW_NUMBER in the Applicability column of $FILE_NAME does not exist and needs to be loaded into the product hierarchy. For example, PRODUCT Name specified in the line number 5 in the Applicability column of assembly.csv file does not exist and needs to be loaded into the product hierarchy.
1002
Fehler
com.ptc.csvtoinservice.validation.OrphanEntryValidator
Prüfen Sie, ob jeder Dokumentcode in der Datei "toc.csv" über eine entsprechende IE-Referenz in der Zuordnungsdatei verfügt, die im selben Bündel geladen wird.
Document code in toc.csv is not found in the bundle.
Add the Document Code $DOCUMENT_CODE that is specified in the toc.csv file to the bundle, if it is not already loaded.
1401
Fehler
com.ptc.csvtoinservice.validation.OrphanEntryValidator
Prüfen Sie, ob alle PartsList-Zeilenelemente in der Datei "assembly.csv" über die entsprechende Teilereferenz in der Datei "part.csv" verfügen (im Bündel).
Part code specified in assembly.csv is not found in part.csv.
Add Part Code $PART_CODE to the part.csv file.
1402