Neu Shopware 6 - Abgleich klappt nicht

oriepl

Gut bekanntes Mitglied
13. Dezember 2011
171
6
Ich bekommen beim Abgleich folgenden Fehler.

Da ich leider kein IT Profi bin, bin ich über jede Hilfe dankbar.

IST EINE GANZ NEUE INSTALLATION - und das passiert beim ersten Abgleich!




Fehler:
Exception: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)
Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)
Kategorien-Löschen-Fehler: Bitte beachten Sie, dass zur Fehler-Diagnose ebenfalls die Log-Datei des Servers und das Abgleich-Log der JTL-Wawi notwendig sind!
Exception bei category.delete: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Response: {"jtlrpc":"2.0","id":"595da6599ff348dcad56e6adec2a3f5a","result":null,"error":{"code":500,"message":"Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = An exception occurred while executing \u0027DELETE FROM `category` WHERE id = ? AND version_id = ?\u0027 with params [\u0022\\xeb\\x14\\xf2\\xcf\\xf0\\x03\\x4f\\x2a\\x86\\xc5\\x10\\xbe\\x8e\\xc9\\x9c\\x2b\u0022, \u0022\\x0f\\xa9\\x1c\\xe3\\xe9\\x6a\\x4b\\xc2\\xbe\\x4b\\xd9\\xce\\x75\\x2c\\x34\\x25\u0022]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:65"}}
Exception bei category.delete: Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error:
Code = 0 | Status = 500 | Detail = An exception occurred while executing 'DELETE FROM `category` WHERE id = ? AND version_id = ?' with params ["\xeb\x14\xf2\xcf\xf0\x03\x4f\x2a\x86\xc5\x10\xbe\x8e\xc9\x9c\x2b", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)

Response: {"jtlrpc":"2.0","id":"598fc98e2d7b4b0682e6e84b94614d8a","result":null,"error":{"code":500,"message":"Controller = Category | Action = delete | JTL-Wawi PK = 444 | The Shopware 6 Admin API responded with an error: \nCode = 0 | Status = 500 | Detail = An exception occurred while executing \u0027DELETE FROM `category` WHERE id = ? AND version_id = ?\u0027 with params [\u0022\\xeb\\x14\\xf2\\xcf\\xf0\\x03\\x4f\\x2a\\x86\\xc5\\x10\\xbe\\x8e\\xc9\\x9c\\x2b\u0022, \u0022\\x0f\\xa9\\x1c\\xe3\\xe9\\x6a\\x4b\\xc2\\xbe\\x4b\\xd9\\xce\\x75\\x2c\\x34\\x25\u0022]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`k001249_45_shopgsshop`.`sales_channel`, CONSTRAINT `fk.sales_channel.navigation_category_id` FOREIGN KEY (`navigation_category_id`, `navigation_category_version_id`) REFERENCES `category` (`i)","data":"Jtl\\Shopware6\\Client\\Exception\\ClientException (Code: 500) in ...\/ClientException.php:65"}}
bei jtlCore.ControllerClasses. Connector.Abgleich.Connector.WppJK9RuYow(String , Object , Boolean , NetworkCredential )
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.mLQJKJx2eu0(String , Object , Boolean , NetworkCredential )
bei jtlCore.ControllerClasses.Connector.Abgleich.Connector.WppJK9RuYow(String , Object , Boolean , NetworkCredential )



Warnungen:
Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.Abgleich abgebrochen.
 

Immanuel

Gesperrter Benutzer
24. August 2016
1.542
329
Hallo @Fünfacht ,

Problem hier vermutlich ist, dass der Connector versucht eine Kategorie zu löschen, die bei einem Verkaufskanal (Sales Channel) als Wurzekategorie eingetragen ist. Das Problem kann am einfachsten gelöst werden, indem im Shop eine einzelne Kategorie angelegt und diese dann temporär bei dem Verkaufskanal als Wurzelkategorie eingetragen wird. Dann sollte das Löschen der anderen Kategorie durch den Connector funktionieren.
 
Ähnliche Themen
Titel Forum Antworten Datum
Neu Gutscheincodes aus Shopware 6 in JTL Wawi als Anmerkung zeigen? Shopware-Connector 0
Neu product_visibility bei JTL-Wawi und Shopware 6 Shopware-Connector 1
Neu Shopware 5 connector und WawI 1.11.06 bis 1.11.8 Shopware-Connector 1
Neu Connectorupdates für Shopware 6.7.7 bzw 6.7.8? Shopware-Connector 34
Neu WebP Bilder von JTL zu Shopware Shopware-Connector 2
Neu Shopware 6 Kundenstornierung im Webshop Shopware-Connector 0
Neu Langfristiger JTL-Partner gesucht: Shopware 6 / Marktplätze (Mirakl, Otto, Kaufland) & Prozess-Optimierung Dienstleistung, Jobs und Ähnliches 2
Neu SaaS Connector – product.push Performance-Problem bei Shopware 6.6 Shopware-Connector 3
Neu Artikel aus Shopware in der Wawi importieren und WMS redy machen Shopware-Connector 0
Wichtig Connectorversion 2.1.3 - Kompatibilität zu Shopware 6.7.6.0 und weitere Performanceoptimierungen Shopware-Connector 5
Neu Shopware 6.7.6.2 Fehler [No supported api version found.] 100 Shopware-Connector 1
Neu DRIGEND HILFE!!! Ebay Abgleich endet mit Arithmetischer Überlauffehler für tinyint-Datentyp, Wert = -1. Die Anweisung wurde beendet. eBay-Anbindung - Fehler und Bugs 4
Neu Benachrichtigung wenn Worker Abgleich fehlschlägt? User helfen Usern - Fragen zu JTL-Wawi 0
Amazon Abgleich will nicht ( JTL Ver. 1.9.8.0 ) JTL-Wawi 1.9 3
FFN Abgleich schlägt fehlt mit Worker 2.0 JTL-Wawi 2.0 1
Neu Kein Abgleich mit Amazon nicht mehr möglich JTL-Wawi 2.0 0
Neu Immer wieder Probleme beim Abgleich, hängt löscht was auch immer Shopify-Connector 0
Zahlungsmodul bucht falsch beim Abgleich JTL-Wawi 2.0 1
Neu Refresh nach Abgleich User helfen Usern - Fragen zu JTL-Wawi 0
Neu Worker Abgleich mit dem Onlineshop "mit Fehlern beendet" Onlineshop-Anbindung 4
Neu Fehler beim Abgleich, aber nur 1 einer von 3 Shopify Shops Shopify-Connector 2
Neu Amazon Abgleich - seit heute 12:26Uhr keine Übernahme der Bestellungen über Worker Amazon-Anbindung - Fehler und Bugs 9
Neu Abgleich erstellt neue Artikel aber ohne Bestand und Bestandsführung WooCommerce-Connector 2
Neu Onlineshop-Abgleich erfordert eine Menge Klicks Onlineshop-Anbindung 3
Neu WaWi - JTL Shop - Kein Abgleich des Artikelnamen möglich Onlineshop-Anbindung 1
Mehrere Zeilen kopieren klappt nicht mehr JTL-Wawi 2.0 1

Ähnliche Themen