Neu Shopware 6 - Abgleich klappt nicht

oriepl

Gut bekanntes Mitglied
13. Dezember 2011
166
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
Abbruch bei Abgleich Shopware 6 mit JTL Wawi Shopware-Connector 0
Neu Kein Abgleich mit Shopware 5.7.7 mehr Shopware-Connector 0
Neu Best Pratices Shopware - JTL - Buchhaltung User helfen Usern - Fragen zu JTL-Wawi 2
Blowfishkey Shopware 5 Einrichtung JTL-Shop5 3
Neu SEO URL der Kategorien wird nicht an Shopware 6 übertragen Shopware-Connector 0
Neu Umstieg von Shopware 5 zu JTL Shop 5 - Ranking behalten Allgemeine Fragen zu JTL-Shop 2
Neu JTL-Wawi mit Shopware/Magnalister User helfen Usern - Fragen zu JTL-Wawi 3
JTL WAWI 1.8.11.1 / JTL CONNECTOR / Shopware 6 JTL-Wawi 1.8 4
Neu Einstellung: "Bilder des Vaterartikels un der folgenden Variationswerte übernehmen" und der Shopware Server "explodiert" Shopware-Connector 10
Neu Label mit Anrede "Keine Angabe", Shopware JTL-ShippingLabels - Fehler und Bugs 1
Neu Shopware 6 Connector = Mangelhaftes Produkt! Shopware-Connector 0
Neu Nutzt jemand Ratepay mit Shopware 6? Shopware-Connector 2
Wichtig 👉 Wichtiger Hinweis: Abkündigungsfristen JTL-Wawi 1.5 / MSQL-Server 2014 / JTL-POS für Android 7 / JTL-Connector für Shopware 5 News, Events und Umfragen 2
Neu Shopabgleich Shopware 6 - bedingte Daten senden - Webhook? Shopware-Connector 1
Neu Kein Datenabgleich zu Shopware 5.5.4 Shopware-Connector 3
Neu Wie importiere ich die Zahlungs-ID für meine eigene benutzerdefinierte Zahlung, wie es andere Anbieter wie Paypal und Molli Payments in Shopware 6? Onlineshop-Anbindung 0
JTL Worker Manueller Abgleich nicht möglich trotz deaktivierem Worker 2.0 JTL-Wawi 1.8 4
Worker 2.0 Abgleich dauert sehr lange JTL-Wawi 1.7 7
Fehler beim Rendering der Attribute bei SCX Abgleich kaufland.de - Anbindung (SCX) 1
Neu Kommentar verschwindet nach Wawi-Abgleich JTL-Shop - Fehler und Bugs 3
Onlineshop fehlt im Abgleich JTL-Wawi 1.6 1
Kein Abgleich zum Shop, ich komme nicht in Plattformen/Verkaufskanäle rein JTL-Wawi 1.8 3
Problem ebay Abgleich JTL-Wawi 1.8 4
In Diskussion Abgleich Wawi->Pos Allgemeine Fragen zu JTL-POS 7
Bug? Worker 2.0 - Shop Abgleich "Quicksync" ist kein Quicksync mehr - Paketgröße wird ignoriert JTL-Wawi 1.8 10
Neu Kurzbeschreibung wird nach dem letztem Shop-Abgleich nicht im Frontend angezeigt User helfen Usern - Fragen zu JTL-Wawi 0
Neu Shopify Connector Abgleich endet nicht Shopify-Connector 6
RLIMIT_NPROC is exceeded & fehler 503 beim Abgleich und beim Bestellabschluss Einrichtung JTL-Shop5 0
Neu Abgleich Onlineshop PrestaShop-Connector 1
Neu Zahlungsmodul - AmazonPay Abgleich schlägt fehl JTL-Wawi - Fehler und Bugs 2
Neu Kein Abgleich möglich-PW in den Online Einstellungen falsch WooCommerce-Connector 0
Neu Abgleich bucht bestellte Artikel als Wareneingang Shopware-Connector 10
Neu Bestellstatus Abgleich "Refund" "Gutschrift" WooCommerce-Connector 3
Neu Nach Installation eines neuen SQL Servers klappt die Verbindung vom Benutzer-PC zum Server-PC nicht mehr. Installation von JTL-Wawi 5
Neu Workflow Rechnungsvorlage ändern klappt nicht - Wawi 1.7.13.1 User helfen Usern - Fragen zu JTL-Wawi 0
Datenbankimport nach Server-Umzug klappt nicht JTL-Wawi 1.8 3
Neu Amazon Authorisierung klappt nicht! Amazon-Anbindung - Fehler und Bugs 1
Neu Lieferantenbestellung Exportvorlage mit Anpassungen an den Variablen klappt nicht User helfen Usern - Fragen zu JTL-Wawi 1
Neu Meine Vorlage klappt nicht mehr. Die Projektdate ist nicht lesbar User helfen Usern - Fragen zu JTL-Wawi 3

Ähnliche Themen