Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Jan 25, 2017
Mar 07, 2017
Core
Closed, Fixed and tested
Steps to reproduce
1. Create a variation without a price.
2. On that variation, call
IPromotionEngine.GetDiscountPrices(new List<ContentReference> { variation.ContentLink }, market, market.DefaultCurrency, _referenceConverter, _lineItemCalculator); .
3. A null reference exception is thrown.
Reported from here:
http://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/1/promotionengine.getdiscountprices-throws-nullrefexception-commerce-10.1.1/