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).
This was a custom metafield on LineItem that wasn't populated. Found the problem using SQL Server Profiler.
When adding a single item to an empty orderform and running cart.AcceptChanges() we get the following exception. Everything is saved though, when choking the error in a try/catch everything works normal. This error only occurs on some of our test machines. We're using 7.5 without any updates.
EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET
System.NullReferenceException: Object reference not set to an instance of an object.
at Mediachase.Data.Provider.TransactionScope.ThreadStaticTransactionScope.Dispose()
at Mediachase.Data.Provider.TransactionScope.Dispose()
at Mediachase.Commerce.Orders.OrderGroup.AcceptChanges()