We are having issues with resending failed orders with a scheduled task. The session in the OrderHandler is null:
It has happended after we upgraded from 9.10.xx to 9.12.7. Any help? Thanks!
We are having issues with resending failed orders with a scheduled task. The session in the OrderHandler is null:
It has happended after we upgraded from 9.10.xx to 9.12.7. Any help? Thanks!
Hi Vincent,
maybe it is a timeout issue, so the session can be expired until the task is not yet finished.
How is the task started? Is it run manually or from the scheduler? Or it doesn't matter?
BR, Dmitrij
Hi Dmitriy,
Thank you for your response. It happens when I run it manually and when it runs automatically.
Schedules runs out of session I guess. And the code you show does not exist in liveintegration v2. Is it standard v1? If you have the source code, make a null check for Context.Current.Session
Thanks, but when I look in the standard LiveIntegration project I see a reference to the session?
Hi Vincent,
That is a bug and will be fixed in #6512 in the next Live Integration version.
Thx for finding and sharing the information.
BR, Dmitrij
Thanks! Do you a timeframe for this fix, I can relay to the customer?
yes, it is already in QA, so you should be able to download it from nuget tomorrow/day after tomorrow
Hi Vincent,
it is now fixed in the last https://www.nuget.org/packages/Dynamicweb.Ecommerce.DynamicwebLiveIntegration/ 6.2.1 version.
BR, Dmitrij
Thanks!
Hi Vincent
The bugfix #6512 is also part of the 9.13.1 release
https://doc.dynamicweb.com/downloads/dynamicweb-9
Kind Regards
Dynamicweb Support
Kristian Kirkholt
You must be logged in to post in the forum