PrestaShop / prestashop-shop-creator

Generate random demo data to test your PrestaShop shop.
24 stars 13 forks source link

Error when 2 product suppliers have the same ids #21

Open mflasquin opened 1 year ago

mflasquin commented 1 year ago

Describe the bug and add screenshots

On generated datas if we are 2 line with same id_product, id_product_attribute and id_supplier in product_suppliers.xml, there is an error :

image

Steps to reproduce

  1. Generate example datas with https://github.com/PrestaShop/prestashop-shop-creator.git
  2. make sure there is 2 line in product_supplier.xml with same id_product, id_product_attribute and id_supplier
  3. Install Prestashop with demo data
paulnoelcholot commented 1 year ago

Hello @mflasquin,

I tested the issue and I can't reproduce the bug. image

Here is what I put in the product_supplier.xml file, can you confirm that is OK? image

Once the install is complete, I notice that if I click on a product, I get the error above: image

Thanks you !