Open amenk opened 8 years ago
If you supply only the field _media_image it crashes
_media_image
[Fri Jul 08 17:02:47.554289 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP Fatal error: Call to undefined method Mage_ImportExport_Model_Import_Adapter_Csv::setValue() in /home/amk/local-workspace/foo/public/app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Product.php on line 428, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554317 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP Stack trace:, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554326 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 1. {main}() /home/amk/local-workspace/foo/public/index.php:0, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554336 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 2. Mage::run($code = '', $type = 'store', $options = *uninitialized*) /home/amk/local-workspace/foo/public/index.php:83, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554347 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 3. Mage_Core_Model_App->run($params = array ('scope_code' => '', 'scope_type' => 'store', 'options' => array ())) /home/amk/local-workspace/foo/public/app/Mage.php:692, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554355 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 4. Mage_Core_Controller_Varien_Front->dispatch() /home/amk/local-workspace/foo/public/app/code/core/Mage/Core/Model/App.php:365, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554399 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 5. Mage_Core_Controller_Varien_Router_Standard->match($request = class Mage_Core_Controller_Request_Http { protected $_originalPathInfo = '/admin/import/validate/key/2c2c91a1f1071f71f397d6be555e3d82/'; protected $_storeCode = NULL; protected $_requestString = '/admin/import/validate/key/2c2c91a1f1071f71f397d6be555e3d82/'; protected $_rewritedPathInfo = NULL; protected $_requestedRouteName = NULL; protected $_routingInfo = array (); protected $_route = 'adminhtml'; protected $_directFrontNames = NULL; protected $_controllerModule = 'Mage_ImportExport_Adminhtml'; protected $_isStraight = FALSE; protected $_beforeForwardInfo = array (); protected $_internallyForwarded = FALSE; protected $_paramSources = array (0 => '_GET', 1 => '_POST'); protected $_requestUri = '/index.php/admin/import/validate/key/2c2c91a1f1071f71f397d6be555e3d82/?form_key=YKiA4J2cFtmJgzM5'; protected $_baseUrl = '/index.php'; protected $_basePath = ''; protected $_pathInfo = '/admin/import/validate/key/2c2c91a1f1071f71f397d6be555e3d82/'; protected $_params = array ('key' => '2c2c91a1f1071f71f397d6be555e3d82'); protected $_rawBody = NULL; protected $_aliases = array (); protected $_dispatched = TRUE; protected $_module = 'admin'; protected $_moduleKey = 'module'; protected $_controller = 'import'; protected $_controllerKey = 'controller'; protected $_action = 'validate'; protected $_actionKey = 'action' }) /home/amk/local-workspace/foo/public/app/code/core/Mage/Core/Controller/Varien/Front.php:172, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554418 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 6. Mage_Core_Controller_Varien_Action->dispatch($action = 'validate') /home/amk/local-workspace/foo/public/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php:254, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554424 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 7. Mage_ImportExport_Adminhtml_ImportController->validateAction() /home/amk/local-workspace/foo/public/app/code/core/Mage/Core/Controller/Varien/Action.php:418, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554432 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 8. Mage_ImportExport_Model_Import->validateSource($sourceFile = '/home/amk/local-workspace/foo/public/var/importexport/catalog_product.csv') /home/amk/local-workspace/foo/public/app/code/core/Mage/ImportExport/controllers/Adminhtml/ImportController.php:145, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554439 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 9. Mage_ImportExport_Model_Import_Entity_Abstract->isDataValid() /home/amk/local-workspace/foo/public/app/code/core/Mage/ImportExport/Model/Import.php:445, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554444 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 10. AvS_FastSimpleImport_Model_Import_Entity_Product->validateData() /home/amk/local-workspace/foo/public/app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php:600, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/ [Fri Jul 08 17:02:47.554449 2016] [:error] [pid 29448] [client 10.4.2.116:51072] PHP 11. AvS_FastSimpleImport_Model_Import_Entity_Product->_preprocessImageData() /home/amk/local-workspace/foo/public/app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Product.php:266, referer: http://foo.local/index.php/admin/import/index/key/23696119d22dd1ba43f258e773dfb8cd/
Problem is that we use the CsvAdapter which does not support the setValue function.
also happens to me. backend imports are not usable with this bug.
Anything new on this issue?
If you supply only the field
_media_image
it crashes