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

Preventing Error if $categoryTableTmp already exists #12

Closed bragento closed 10 years ago

bragento commented 10 years ago

Create Temporary Table('catalog_category_entity_tmp') if not Exists, after receiving "Error: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'catalog_category_entity_tmp' already exists", during Category Import.

danslo commented 10 years ago

Thanks for this, looks pretty straightforward.

bragento commented 10 years ago

You're very welcome! Thank you for the module! Since our highly flexible and extensively used "Magento communication framework" bracomm uses the dapi extension to push and pull our customers data in and out of Magento we are looking forward to keep contributing to your module wherever useful :)

danslo commented 10 years ago

Awesome. Speaking of speeding up stock imports, I'm pretty sure I currently just run all indexers (though still partial) even when we're only updating stock.

I might update that.

danslo commented 10 years ago

@bragento I'm not sure if you are even using BEHAVIOR_STOCK, but if you have some time you could also try out this branch: https://github.com/danslo/ApiImport/tree/stock-import

It prevents other indexers from being triggered when only doing stock imports.

If you're doing full imports, you can ignore me :-P

bragento commented 10 years ago

We'll gladly look into it! Thx again ;)