Hi Guys,
I have set up a notification email on Quote Status change.
Nothing fancy. An empty template with a simple text in it just to see what happens.
After changing the state on the quote, I've got the following yellow error:
[NullReferenceException: Object reference not set to an instance of an object.] Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderContexts(Template template) +86 Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) +17764 Dynamicweb.Ecommerce.Frontend.Renderer.RenderVariantCombinations(Product product, Template parentTemplate, String loopName) +1704 Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) +13466 Dynamicweb.Ecommerce.Frontend.Renderer.RenderProducts(ProductCollection products, Template parentTemplate, String loopName, Int32 loopCounter, Boolean renderRelatedProducts, Boolean renderRelatedLists) +543 Dynamicweb.Ecommerce.Frontend.Renderer.RenderRelatedProductLists(Template template, RelatedProductListProviderEventArgs relatedParams) +274 Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) +17085 Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId) +37 Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderLine(OrderLine orderLine, Template template) +3395 Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderLines(OrderLineCollection orderLines, Template parentTemplate, String loopName) +296 Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrderDetails(Template template, Order order, Boolean extendedProperties, OrderTemplateExtenderContext orderContext) +3983 Dynamicweb.Ecommerce.Frontend.Renderer.RenderOrder(Order order, Template template, Boolean extendedProperties, Int32 stepNumber, OrderTemplateExtenderContext orderContext) +69 Dynamicweb.Ecommerce.Orders.Order.SendTo(PageView& pageView, String subject, List`1 toMailAddresses, String fromMailAddress, String fromMailName, Template& mailTemplate) +80 Dynamicweb.Ecommerce.Orders.Order.SendTo(PageView& pageView, String subject, String toMailAddress, String fromMailAddress, String fromMailName, Template& mailTemplate) +85 Dynamicweb.Ecommerce.Orders.Order.NotifyOrderStateChanged() +616 Dynamicweb.Ecommerce.Orders.Order.SaveOrder(String orderId, Boolean saveOldVersion) +8581 Dynamicweb.Ecommerce.Orders.Order.Save(String orderId, Boolean saveOldVersion) +47 Dynamicweb.Admin.eComBackend.UCOrderEdit.DoSave() +3979 Dynamicweb.Admin.eComBackend.UCOrderEdit.Ribbon_SaveAndClose(Object sender, EventArgs e) +14 Dynamicweb.Controls.RibbonBarButton.RaisePostBackEvent(String eventArgument) +33 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9754214 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3562
I am using a Wrap based solution, without major changes. Version is 9.2.14
Thanks,
Adrian