We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure if this is a bug. Magento give this error after a successful Category-product relation import.
exception 'Mage_Core_Exception' with message 'Invalid entity_type specified: catalog_category_product' in /home/user/domains/domain.com/public_html/berto/app/Mage.php:595 #0 /home/user/domains/domain.com/public_html/berto/app/code/core/Mage/Eav/Model/Config.php(328): Mage::throwException('Invalid entity_...') #1 /home/user/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Import.php(1005): Mage_Eav_Model_Config->getEntityType('catalog_categor...') #2 /home/user/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Import.php(1091): Ho_Import_Model_Import->_getEntityTypeId()
From Ho Import function, row 1005
protected function _getEntityTypeId() { /** @var Mage_Eav_Model_Entity_Type $entityType */ $entityType = Mage::getSingleton('eav/config')->getEntityType((string) $this->_getEntityType()); return $entityType->getId(); }
Profile code in config.xml:
<!-- CATEGORY PRODUCT RELATION IMPORT --> <category_products> <entity_type>catalog_category_product</entity_type> <source model="ho_import/source_adapter_xml"> <file>var/import/source.xml</file> </source> <import_options> <partial_indexing>1</partial_indexing> </import_options> <fieldmap> <_root value="Default Category" /> <_category helper="ho_import/import::formatField"> <format>%s/%s</format> <fields> <father field="Categoria_x0020_Descrizione" /> <child field="Tipologia_x0020_Descrizione" /> </fields> </_category> <_sku helper="ho_import/import::formatField"> <format>%s-%s</format> <fields> <sku field="barcode" /> <size field="tg" /> </fields> </_sku> <position value="0" /> </fieldmap> </category_products>
ho_import.log
2015-07-07T09:08:03+00:00 INFO (6): Processing 53 rows from temp csv file (/home/user/domains/domain.com/public_html/berto/var/import/category_products.csv) 2015-07-07T09:08:03+00:00 INFO (6): Start profile /home/user/domains/domain.com/public_html/berto/var/import/category_products.csv 2015-07-07T09:08:03+00:00 INFO (6): Profile category_products done in 0.27 seconds, 196.3 entities/s, 196.3 rows/s. 2015-07-07T09:08:03+00:00 INFO (6): Clean entity link table
The text was updated successfully, but these errors were encountered:
Hi @dariodor, I also got this error importing category_products.
What was your resolution? I'm not sure I understand from you last comment. The import worked successfully for me too, I just got the error at the end.
Cheers
Sorry, something went wrong.
Same issue here:
Invalid entity_type specified: catalog_category_product
Fixed it: #112
No branches or pull requests
I'm not sure if this is a bug. Magento give this error after a successful Category-product relation import.
From Ho Import function, row 1005
Profile code in config.xml:
ho_import.log
The text was updated successfully, but these errors were encountered: