Developer forum

Forum » Development » Need urgent fix for RedeemPoints in LoyaltyService

Need urgent fix for RedeemPoints in LoyaltyService

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

We have an issue in RedeemPoints as the BackendUser is null when completing an order in the frontend. Please see the code and call stack here: https://www.screencast.com/t/ItUeFpGR8

This does that the order cannot be completed as an exception is thrown, because CreateTransaction has this line of code: "transaction.ObjectElement = Converter.ToString(user.ID)" and the user is null.

 

Can you please add a check in RedeemPoints where you check for whether the context is frontend or backend, and then fetch the appropriate user? If possible a very quick fix will be very much appreciated.

 

Best regards, Anders


Replies

 
Anders Ebdrup
Anders Ebdrup
Reply
Bump...
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Anders

Bad one... TFS#85844 - I made a fix, release of Dynamicweb.Ecommerce asap with the fix.

BR Nicolai

Votes for this answer: 1
 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai,

 

Do you have any news for me regarding this issue?

 

Best regards, Anders

 

You must be logged in to post in the forum