Moin,
ich erhalte beim Versuch eine Magento 1.9 Migration (Produktimport) durchzuführen folgende Fehler:
Integrity constraint violation: 1452
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: product, sourceId: b7f05e2b8aa74ebeb0c5d598036f7f82
An exception occurred while executing 'INSERT INTO `product_visibility` (`id`, `product_id`, `product_version_id`, `sales_channel_id`, `visibility`, `created_at`) VALUES (?, ?, ?, ?, ?, ?)' with params ["\x0a\xc4\x72\xd9\xa5\x24\x42\x3b\x87\x33\x39\x6a\x58\xb5\xa0\x7b", "\x63\xde\x40\xa4\x2f\xfc\x4e\x43\xb9\x58\x8c\x34\xd4\x30\x7b\x7c", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25", "\x42\x08\x7f\x7f\x75\xb1\x40\x2e\xa3\xed\x2d\xcb\xca\x88\xae\xbc", 30, "2020-03-04 17:49:01.632"]:SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d02e86cb`.`product_visibility`, CONSTRAINT `fk.product_visibility.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: product, sourceId: bb70336bd9ed4062a3a75f65048f631f
An exception occurred while executing 'INSERT INTO `product_visibility` (`id`, `product_id`, `product_version_id`, `sales_channel_id`, `visibility`, `created_at`) VALUES (?, ?, ?, ?, ?, ?)' with params ["\x26\x64\x40\x01\xf7\x96\x4e\x0e\xa7\x8a\xaf\x49\xe8\x40\x3d\xe9", "\x87\xdf\x9a\x84\x60\x3f\x44\xd6\x84\x5a\xc9\x5d\x55\xdc\x88\x39", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25", "\x42\x08\x7f\x7f\x75\xb1\x40\x2e\xa3\xed\x2d\xcb\xca\x88\xae\xbc", 30, "2020-03-04 17:49:01.647"]:SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d02e86cb`.`product_visibility`, CONSTRAINT `fk.product_visibility.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: product, sourceId: 3fc33fe4405446d9926ade151e4e5bf4
An exception occurred while executing 'INSERT INTO `product_visibility` (`id`, `product_id`, `product_version_id`, `sales_channel_id`, `visibility`, `created_at`) VALUES (?, ?, ?, ?, ?, ?)' with params ["\xd1\x50\xe1\x33\x0e\x5a\x40\x9e\x88\x67\x8a\xae\xca\x2b\x21\x6c", "\x8e\xf1\x31\x3b\xef\xae\x48\xf1\xbf\xef\x45\x51\x5c\xd1\x45\x48", "\x0f\xa9\x1c\xe3\xe9\x6a\x4b\xc2\xbe\x4b\xd9\xce\x75\x2c\x34\x25", "\x42\x08\x7f\x7f\x75\xb1\x40\x2e\xa3\xed\x2d\xcb\xca\x88\xae\xbc", 30, "2020-03-04 17:49:01.640"]:SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d02e86cb`.`product_visibility`, CONSTRAINT `fk.product_visibility.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: product, sourceId: c1aed149b65e4ef1b2e9b314298ef158
An exception occurred while executing 'REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES ('Ab7','jKKu,4%','\n_eML ','jKKu,4%');':SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d02e86cb`.`product_category`, CONSTRAINT `fk.product_category.category_id` FOREIGN KEY (`category_id`, `category_version_id`) REFERENCES `category` (`id`, `version_id`) ON DELETE CASCADE ON U)
[error] SWAG_MIGRATION_RUN_EXCEPTION
An exception occurred
Entity: product, sourceId: f5706af54f0d4a05a094d9f3a37a8a9d
An exception occurred while executing 'REPLACE INTO product_category (product_id, product_version_id, category_id, category_version_id) VALUES ('J(,UC}(7','jKKu,4%','E,F$xwq','jKKu,4%');':SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`d02e86cb`.`product_category`, CONSTRAINT `fk.product_category.category_id` FOREIGN KEY (`category_id`, `category_version_id`) REFERENCES `category` (`id`, `version_id`) ON DELETE CASCADE ON U)
Was ist zu tun um die Migration hinzubekommen?
Danke
Stephn