Closed
Description
Preconditions
- Magento 2.2.3
- Import headers as below.
sku,url_key,color,shape,shop_by_finish,tile_material,tile_size2,categories,name,description,short_description,weight,price,meta_title,meta_keywords,meta_description,qty,base_image,base_image_label,small_image,small_image_label,thumbnail_image,thumbnail_image_label,attribute_set_code,product_type,product_websites,product_online,tax_class_name,visibility
Steps to reproduce
- Create .csv import with column url_key empty for each row in .csv
- All other validations pass
- Press Check data, it gives the error: Please make sure attribute "url_key" is not empty.
Expected result
- url_key is not a required column according to documentation. This should pass validation and a url key should be created programmatically if not defined upon import.
Actual result
- Can't create products without specifying url_key
I'm guessing it was broken by this ticket: #12641
This was URL key being generated by the import even the column wasn't defined, which is what I'm expecting as well. My guess is that the column url_key should be specified but empty for new products.