PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

ProductFactory.add method returns existing id

Open miguelextremanet opened this issue 5 years ago • 4 comments

Hello, I am using ProductFactory.add method to save new product in prestashop. The method seems execute fine, but returns exising id product. This id (1 in my case), already exist in database and is assigned to other product return_existing_id

miguelextremanet avatar Jul 24 '19 10:07 miguelextremanet

I deleted all products from prestashop and after that, Add method, returns and incompresible error Message

"El objeto que acepta valores Null debe tener un valor."

could you help me please ?? error_dos

miguelextremanet avatar Jul 24 '19 15:07 miguelextremanet

please is urgent ! anybody knows what is happen ?? I cant create products, always appear the same error ""El objeto que acepta valores Null debe tener un valor"

I have 1.7.5.2 prestashop version

miguelextremanet avatar Jul 24 '19 17:07 miguelextremanet

I face the same issue, but I have products in the database, if I try that with another version of Prestashop like 1.7.2.4, it works properly. That issue has been opened in #318 #366 #369 I think so.

albertg5 avatar Aug 14 '19 09:08 albertg5

Hello!

Thanks a lot to all of you for your contribution.

I am facing the same "El objeto que acepta valores Null debe tener un valor" error message ¿Any solution?

Thanks

RCallejo2 avatar Mar 27 '21 09:03 RCallejo2