magento-engcom / import-export-improvements

Open Software License 3.0
31 stars 29 forks source link

Products are not getting replaced because of the strtolower function on fetching sku from the database #118

Open NoorulBhoelai opened 6 years ago

NoorulBhoelai commented 6 years ago

While importing new simple products with a capital alpha character postfix, existing simple product will not get replaced because of the strtolower($sku) function when fetching SKU's from the database.

Preconditions

  1. Magento version 2.2.3

Steps to reproduce

  1. import product with sku 11111M
  2. run import again with sku 11111M

Expected result

View catalog_product_entity table and you will find the sku 11111M product being copied instead of being replaced.

Function of the strtolower on SKU

\Magento\CatalogImportExport\Model\Import\Product\SkuProcessor::getNewSku line 144

paales commented 6 years ago

Few discussion points we had internally:

dmanners commented 5 years ago

Hello,

Thank you for raising this issue. We are currently investigating this and more issues with regards to SKU look ups under the issue https://github.com/magento-engcom/import-export-improvements/issues/37 I would like to combine these issues if that makes sense.

@tadhgbowe is this case being covered in your issue validation?