Product export duplicate rows for product in Magento 2.1.2 or 2.1.x
Preconditions Tag 2.1.2 Steps to reproduce Open admin panel Edit any product Add description that has quotes " or any other html special char Save Product Go to System - Export - Products Export products Expected Actual result change in file app/code/Magento/CatalogImportExport/Model/Export/Product.php if ($storeId != Store::DEFAULT_STORE_ID && isset($data[$itemId][Store::DEFAULT_STORE_ID][$fieldName]) && $data[$itemId][Store::DEFAULT_STORE_ID][$fieldName] == $attrValue) { continue; } replace marked line with && $data[$itemId][Store::DEFAULT_STORE_ID][$fieldName] == htmlspecialchars_decode($attrValue)