Developer forum

Forum » Dynamicweb 10 » Cannot create new product

Cannot create new product

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

I get the following error when trying to create a new product under Products.

An unhandled exception occurred while processing the request.
ArgumentNullException: Product id to export is not specified. (Parameter 'productId')
Dynamicweb.Products.UI.Screens.ProductOverviewScreen.GetExportSingleProductAction(Guid queryId, string groupId, string productId, string languageId)
Stack Query Cookies Headers Routing
ArgumentNullException: Product id to export is not specified. (Parameter 'productId')
Dynamicweb.Products.UI.Screens.ProductOverviewScreen.GetExportSingleProductAction(Guid queryId, string groupId, string productId, string languageId)
Dynamicweb.Products.UI.Screens.ProductOverviewScreen.GetProductActions(ProductDataModel model)
Dynamicweb.Products.UI.Screens.ProductEditScreen.GetScreenActions()
Dynamicweb.CoreUI.Screens.EditScreenBase<TModel>.GetDefinition()
Dynamicweb.Application.UI.AreaContainerScreen.GetDefinition()
Dynamicweb.CoreUI.Rendering.Views.Admin.Views_Admin_Index+<>c__DisplayClass17_0+<<ExecuteAsync>b__1>d.MoveNext()
Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
Dynamicweb.CoreUI.Rendering.Views.Admin.Views_Admin_Index.ExecuteAsync()
Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)

Steps to reproduce:

  1. Set up a brand new site as per <<link to bug about setup>>
  2. Click Products
  3. Click the All products query
  4. Click the New product button

Actual results:

                The error above is shown

Expected results:

                I can create a new product and save it


Replies

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

Hi,

I could not catch the exception several days ago, it seems to have already been fixed. But today I see new one other seems to be related to ProductEditFieldProvider, I've created task 10477 against it.

BR, Oleg QA

Votes for this answer: 1

 

You must be logged in to post in the forum