antigravity
Neues Mitglied
Hallo zusammen,
vorab muss ich sagen das ich die JTL Wawi erst austeste und ich möchte sie wirklich mögen, glaubt mir. Aber ich habe Probleme die mich jetzt schon sehr viele Stunden und Aggresionen gekostet haben. Da ich hier im Forum nichts gefunden habe hier mein Problem:
Ich versuche meinen Shopware Shop initial einmal in die Wawi zu laden und das funktioniert auch bei den Kategorien, Herstellern, Aufträgen und Co. Jedoch nicht bei den Artikeln. Da wird sofort abgebrochen mit folgender Meldung:
Das NULL-Objekt kann nicht in einen Werttyp konvertiert werden.
Error converting value {null} to type 'System.Decimal'. Path 'prices[0].vat'.
bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
Shopware Version: 5.6.9
JTL-Wawi Version: 1.5.36.0
Connector Version: 2.8.2
Ich habe bereits meine kompletten Artikel aufgeräumt und schön alle Werte gefüllt gemäß Recherche hier im Forum: purchase_price, price_EK, price_H usw ... Auch die Tax Id's passen bei allen Artikeln.
Und trotzdem bekomme ich diese Meldung.
Hier ein Sample Datensatz:
<<< product.pull: {"result":[{"basePriceUnitId":["",0],"id":["1414_46",0],"manufacturerId":["2",2],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",0],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2020-01-01T00:00:00+0100","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":false,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":true,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":null,"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":1,"minimumQuantity":0," modified":null,"newReleaseDate":null,"nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":true,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"AGD10046.0","sort":0,"stockLevel":{"productId":["1414_46",0],"sku":"","stockLevel":99},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":16,"width":0,"attributes":[{"id":["1540_27",0],"productId":["",0],"isCustomProperty":false,"isTranslated":false,"i18ns":[{"productAttrId":["1540_27",0],"languageISO":"ger","name":"sfExport","value":"1"}]},{"id":["price_group_id",0],"productId":["",0],"isCustomProperty":false,"isTranslated":false,"i18ns":[{"productAttrId":["price_group_id",0],"languageISO":"ger","name":"price_group_id","value":"1"}]}],"categories":[{"categoryId":["27",23],"id":["",0],"productId":["1414_46",0]}],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"productId":["1414_46",0],"deliveryStatus":"","description":"<p>Profi Kurse sind immer exklusive Verbandsmaterialien<\/p>","languageISO":"ger","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Divemaster","shortDescription":"","titleTag":"","unitName":"","urlPath":""}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"customerGroupId":["1",0],"customerId":["",0],"id":["1414_46_0",0],"productId":["1414_46",0],"sku":"","vat":null,"items":[{"productPriceId":["1414_46_0",0],"netPrice":508.62068965516999696774291805922985076904296875,"quantity":1}]},{"customerGroupId":["",0],"customerId":["",0],"id":["1414_46_0",0],"productId":["1414_46",0],"sku":"","vat":null,"items":[{"productPriceId":["1414_46_0",0],"netPrice":508.62068965516999696774291805922985076904296875,"quantity":0}]}],"specialPrices":[],"specifics":[],"varCombinations":[],"variations":[{"id":["1414_46_6",0],"productId":["1414_46",0],"sort":2,"type":"radio","i18ns":[{"productVariationId":["1414_46_6",0],"languageISO":"ger","name":"Verband"}],"invisibilities":[],"values":[{"id":["1414_46_6_5",0],"productVariationId":["1414_46_6",0],"ean":"","extraWeight":0,"sku":"","sort":0,"stockLevel":0,"extraCharges":[],"i18ns":[{"productVariationValueId":["1414_46_6_5",0],"languageISO":"ger","name":"PADI"}],"invisibilities":[]},{"id":["1414_46_6_6",0],"productVariationId":["1414_46_6",0],"ean":"","extraWeight":0,"sku":"","sort":0,"stockLevel":0,"extraCharges":[],"i18ns":[{"productVariationValueId":["1414_46_6_6",0],"languageISO":"ger","name":"SDI\/TDI"}],"invisibilities":[]}]}],"warehouseInfo":[]}],"error":null,"jtlrpc":"2.0","id":"699ffee842034e258319bba1bc937bd9"}
Es handelt sich hier um einen Artikel mit zwei Varianten. Im Hauptartikel steht hier auch noch der Wert 16 drin. Man findet aber auch zweimal den Wert NULL.
Hat jemand eine Idee?
Bitte melden wenn noch mehr Informationen gebraucht werden.
vorab muss ich sagen das ich die JTL Wawi erst austeste und ich möchte sie wirklich mögen, glaubt mir. Aber ich habe Probleme die mich jetzt schon sehr viele Stunden und Aggresionen gekostet haben. Da ich hier im Forum nichts gefunden habe hier mein Problem:
Ich versuche meinen Shopware Shop initial einmal in die Wawi zu laden und das funktioniert auch bei den Kategorien, Herstellern, Aufträgen und Co. Jedoch nicht bei den Artikeln. Da wird sofort abgebrochen mit folgender Meldung:
Das NULL-Objekt kann nicht in einen Werttyp konvertiert werden.
Error converting value {null} to type 'System.Decimal'. Path 'prices[0].vat'.
bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
Shopware Version: 5.6.9
JTL-Wawi Version: 1.5.36.0
Connector Version: 2.8.2
Ich habe bereits meine kompletten Artikel aufgeräumt und schön alle Werte gefüllt gemäß Recherche hier im Forum: purchase_price, price_EK, price_H usw ... Auch die Tax Id's passen bei allen Artikeln.
Und trotzdem bekomme ich diese Meldung.
Hier ein Sample Datensatz:
<<< product.pull: {"result":[{"basePriceUnitId":["",0],"id":["1414_46",0],"manufacturerId":["2",2],"masterProductId":["",0],"measurementUnitId":["",0],"partsListId":["",0],"productTypeId":["",0],"shippingClassId":["",0],"unitId":["",0],"additionalHandlingTime":0,"asin":"","availableFrom":null,"basePriceDivisor":0,"basePriceFactor":0,"basePriceQuantity":0,"basePriceUnitCode":"","basePriceUnitName":"","considerBasePrice":false,"considerStock":true,"considerVariationStock":false,"creationDate":"2020-01-01T00:00:00+0100","discountable":true,"ean":"","epid":"","hazardIdNumber":"","height":0,"isActive":false,"isBatch":false,"isBestBefore":false,"isbn":"","isDivisible":false,"isMasterProduct":true,"isNewProduct":false,"isSerialNumber":false,"isTopProduct":false,"keywords":"","length":0,"manufacturerNumber":"","manufacturer":null,"measurementQuantity":0,"measurementUnitCode":"","minBestBeforeDate":null,"minimumOrderQuantity":1,"minimumQuantity":0," modified":null,"newReleaseDate":null,"nextAvailableInflowDate":null,"nextAvailableInflowQuantity":0,"note":"","originCountry":"","packagingQuantity":0,"permitNegativeStock":true,"productWeight":0,"purchasePrice":0,"recommendedRetailPrice":0,"serialNumber":"","shippingWeight":0,"sku":"AGD10046.0","sort":0,"stockLevel":{"productId":["1414_46",0],"sku":"","stockLevel":99},"supplierDeliveryTime":0,"supplierStockLevel":0,"taric":"","unNumber":"","upc":"","vat":16,"width":0,"attributes":[{"id":["1540_27",0],"productId":["",0],"isCustomProperty":false,"isTranslated":false,"i18ns":[{"productAttrId":["1540_27",0],"languageISO":"ger","name":"sfExport","value":"1"}]},{"id":["price_group_id",0],"productId":["",0],"isCustomProperty":false,"isTranslated":false,"i18ns":[{"productAttrId":["price_group_id",0],"languageISO":"ger","name":"price_group_id","value":"1"}]}],"categories":[{"categoryId":["27",23],"id":["",0],"productId":["1414_46",0]}],"checksums":[],"configGroups":[],"customerGroupPackagingQuantities":[],"fileDownloads":[],"i18ns":[{"productId":["1414_46",0],"deliveryStatus":"","description":"<p>Profi Kurse sind immer exklusive Verbandsmaterialien<\/p>","languageISO":"ger","measurementUnitName":"","metaDescription":"","metaKeywords":"","name":"Divemaster","shortDescription":"","titleTag":"","unitName":"","urlPath":""}],"invisibilities":[],"mediaFiles":[],"partsLists":[],"prices":[{"customerGroupId":["1",0],"customerId":["",0],"id":["1414_46_0",0],"productId":["1414_46",0],"sku":"","vat":null,"items":[{"productPriceId":["1414_46_0",0],"netPrice":508.62068965516999696774291805922985076904296875,"quantity":1}]},{"customerGroupId":["",0],"customerId":["",0],"id":["1414_46_0",0],"productId":["1414_46",0],"sku":"","vat":null,"items":[{"productPriceId":["1414_46_0",0],"netPrice":508.62068965516999696774291805922985076904296875,"quantity":0}]}],"specialPrices":[],"specifics":[],"varCombinations":[],"variations":[{"id":["1414_46_6",0],"productId":["1414_46",0],"sort":2,"type":"radio","i18ns":[{"productVariationId":["1414_46_6",0],"languageISO":"ger","name":"Verband"}],"invisibilities":[],"values":[{"id":["1414_46_6_5",0],"productVariationId":["1414_46_6",0],"ean":"","extraWeight":0,"sku":"","sort":0,"stockLevel":0,"extraCharges":[],"i18ns":[{"productVariationValueId":["1414_46_6_5",0],"languageISO":"ger","name":"PADI"}],"invisibilities":[]},{"id":["1414_46_6_6",0],"productVariationId":["1414_46_6",0],"ean":"","extraWeight":0,"sku":"","sort":0,"stockLevel":0,"extraCharges":[],"i18ns":[{"productVariationValueId":["1414_46_6_6",0],"languageISO":"ger","name":"SDI\/TDI"}],"invisibilities":[]}]}],"warehouseInfo":[]}],"error":null,"jtlrpc":"2.0","id":"699ffee842034e258319bba1bc937bd9"}
Es handelt sich hier um einen Artikel mit zwei Varianten. Im Hauptartikel steht hier auch noch der Wert 16 drin. Man findet aber auch zweimal den Wert NULL.
Hat jemand eine Idee?
Bitte melden wenn noch mehr Informationen gebraucht werden.