Developer forum

Forum » Rapido » Recurring Orders datetime bug

Recurring Orders datetime bug

Mafalda Correa Dynamicweb Employee
Mafalda Correa
Reply

Hi,

I came across a bug in the implementation of the Recurring Orders in Rapido.

Dynamicweb is only expecting to get a Date in Ecom:Order.Recurring.StartDate, but Rapido is sending Datetime. It seems like in DW code, TimeOfDay is then being added to the date, which is causing the time to duplicate.

Check the repro of the issue here:

https://www.screencast.com/t/Xn9e6UOmVr

Now, for some reason I cannot explain, this behaviour happens several times in the first minutes of the hour, then starts happening less and less, until we can no longer reproduce it from minute 25 until the next hour.

This is rather easy to fix in Rapido by just changing the DateFormat to not get hours and minutes.

The issue seems to be fixed by changing the dateFormat variable to:

string dateFormat = Pageview.Area.Dateformat;

Thank you


Replies

 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply

Hello Mafalda,

New tfs #88121 has been created for solving this issue. Thanks a lot!

Best regards,

Olga | QA

 

You must be logged in to post in the forum