danslo / ApiImport

Boilerplate between the Magento API and ImportExport, so that you can do fast Array/XMLRPC/SOAP based product imports.
244 stars 79 forks source link

SoapFault during bundle products benchmarking #14

Closed willy-ahva closed 10 years ago

willy-ahva commented 10 years ago

Hello, I tried to benchmark ApiImport with your benchmark_import_api.php on a Magento 1.8.1 and all ran well for simple products and configurable but when it tries to import bundle products it throws : SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (magento.catalog_product_bundle_selection, CONSTRAINT FK_CAT_PRD_BNDL_SELECTION_OPT_ID_CAT_PRD_BNDL_OPT_OPT_ID FOREIGN KEY (option_id) REFERENCES catalog_product_bundle_option (`optio)

Thanks for help, Willy

drewdotpro commented 10 years ago

SQL fault, not a SOAP fault by the looks of it.

danslo commented 10 years ago

Is this still happening? I finally got some time to look into these issues.

Unfortunately cannot reproduce the above.

willy-ahva commented 10 years ago

Hum, I can't remember how I had this bug :( I close ;)