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

date_upd and date_add return null #429

Open josemiguelsimoes opened 2 years ago

josemiguelsimoes commented 2 years ago

date_upd and date_add are returning null. My version is 1.2.9.

Is there any way to fix this?

aippolito commented 2 years ago

I also have this problem with version 1.2.9 When I update a product the lack of the two dates causes an error, PrestaShop assigns the system date to the date_add and date_upd fields. I find products added in 2010 in the "new products widget".

PalumboT commented 1 year ago

@aippolito The issue is fixed but no newer version has been released yet.

ruibarroso commented 1 year ago

I'm having the same issue. I'm using "GetByFilter" and the date related fields are returning null.

ruibarroso commented 1 year ago

Solved by cloning the project instead of using nuget package.

PalumboT commented 1 year ago

@ruibarroso I don't know when there will be a new release. I solved the issue by taking the source directly from the GitHub repository and putting it directly into my project. Referencing it instead of the NuGet package will solve your issue

totti240282 commented 1 year ago

Why is the package not updated?

totti240282 commented 1 year ago

Yes at the moment I used a Web API.