Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
155 stars 151 forks source link

AddList function dont return list of object added #409

Closed mnieblab closed 3 years ago

mnieblab commented 3 years ago

Hello

When is used the addList function to add objects (products, categories, manufacturers, etc.) dont return the list of object added. Is very important know minimallythe ids of elements add recently. This is the correctly functionament or the result is wron??

Thank you

oromand commented 3 years ago

Hello,

No it doesn't sound normal. I made a quick test, and it appear the HandleListDerivative method in the Deserializer is the culprit.

The return of prestashop is correct, just the deserialization doesn't do the job.

oromand commented 3 years ago

Hey @mnieblab

I would push the release 1.2.9 on nuget. It fixes the problem you described. Can you give it a try ?

mnieblab commented 3 years ago

Now it´s OK Thank you very much @oromand!!!

oromand commented 3 years ago

Great