PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

date_upd and date_add return null

Open josemiguelsimoes opened this issue 3 years ago • 7 comments

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

Is there any way to fix this?

josemiguelsimoes avatar Oct 08 '21 11:10 josemiguelsimoes

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".

aippolito avatar May 06 '22 07:05 aippolito

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

PalumboT avatar Dec 27 '22 20:12 PalumboT

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

ruibarroso avatar Mar 16 '23 11:03 ruibarroso

Solved by cloning the project instead of using nuget package.

ruibarroso avatar Mar 16 '23 11:03 ruibarroso

@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

PalumboT avatar Mar 16 '23 12:03 PalumboT

Why is the package not updated?

totti240282 avatar Mar 16 '23 14:03 totti240282

Yes at the moment I used a Web API.

totti240282 avatar Mar 16 '23 14:03 totti240282