Developer forum

Forum » Dynamicweb 10 » Can’t edit existing product

Can’t edit existing product

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

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:

  1. Insert a new product in the database directly by specifying the product ID, language ID, product number and product name.
  2. In the backend, click Products and open the All products query
  3. Click the newly insert product
  4. Click the Edit product button

Actual results:

                The error above is shown

Expected results

                I can successfully edit the product

 


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi,

Cannot reproduce the issue on last DW10 admin, has been fixed, probably. Here is video regarding my check. Thanks.

BR, Oleg QA

Votes for this answer: 1

 

You must be logged in to post in the forum