Developer forum

Forum » Dynamicweb 10 » Creating a Products query crashes with a 500 exception when no index selected

Creating a Products query crashes with a 500 exception when no index selected

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Steps to reproduce:

  1. Click Products
  2. Click My Queries
  3. Click Add new query
  4. Enter a name and click Save and close

Actual results:

A JSON 500 error: https://localhost:6001/Admin/Api/QuerySave?Query.FolderPath=%2FFiles%2FSystem%2FSmartSearches%2FEcommerce%2FPersonal%2F1&Query.Type=QueryNew

{"status":"error","message":"An index is required to create a query.","exception":null,"model":{"id":"00000000-0000-0000-0000-000000000000","sourceRepository":null,"name":"wefrewfrew","sourceIndex":null,"parametersCount":0,"sortParametersCount":0,"updatedAt":null,"createdAt":null,"fileName":null,"folderPath":"/Files/System/SmartSearches/Ecommerce/Personal/1","type":null,"subType":null,"description":null,"appendCompletionExpressions":false,"isProductQuery":true,"permissionLevel":"all"},"modelIdentifier":null,"resultActions":[]}

Expected results:

                An error message indicating that the index is required.


Replies

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

Hi,

new task 10476 has been submitted against the issue. Thanks.

BR, Oleg QA

Votes for this answer: 1

 

You must be logged in to post in the forum