When editing an existing product, I get the following error:
An unhandled exception occurred while processing the request. NullReferenceException: Object reference not set to an instance of an object. Dynamicweb.Products.UI.Screens.ProductEditScreen.CreatePriceEditor() Stack Query Cookies Headers Routing NullReferenceException: Object reference not set to an instance of an object. Dynamicweb.Products.UI.Screens.ProductEditScreen.CreatePriceEditor() Dynamicweb.Products.UI.Screens.ProductEditScreen.GetEditor(string property) Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>.BuildEditor<T>(EditorMapping mapping, ModelMapping modelMapping) Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>+<>c__DisplayClass42_0<T>.<CreateMappingInternal>b__0(EditorMapping mapping) Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>+EditorMapping.GetEditor() Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>.EditorFor(string name) Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>.EditorFor<T>(Expression<Func<TModel, T>> expression)
Steps to reproduce:
- Insert a new product in the database directly by specifying the product ID, language ID, product number and product name.
- In the backend, click Products and open the All products query
- Click the newly insert product
- Click the Edit product button
Actual results:
The error above is shown
Expected results
I can successfully edit the product