Bukimedia / PrestaSharp

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

Categories GetAll() duplicates (1.0.3) #352

Closed insane78 closed 5 years ago

insane78 commented 5 years ago

Upgrading prestasharp 1.0 to 1.0.3 i noticed that all categories are duplicated. Looking in debug the collection returned, i see that the duplicates are not identical. For example i have 2 object with same category id, but one have idparent, name(collection), and other fileds with their values, the other object have this fields null, except for the IDcategory.

I have one shop declared (no multishop) with one language installed (italian). Prestashop 1.7.5.1

insane78 commented 5 years ago

The following image show two objects with same categoryid, returned by getall()

image

mowcixo commented 5 years ago

Could you try with new release 1.0.4? There is a bug fix related with that.

insane78 commented 5 years ago

I noticed about 1.0.4 just after your reply. I tried this new release and seems works like a charm. Thank you very much.

mowcixo commented 5 years ago

Thank you @insane78 :)

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.