Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
Description
To avoid misconfigurations, we should run a test query on saving a Blueprint. Error messages from the messaging subsystem should be shown to the user.
LPS-124590 shows the error in the preview, but these errors should also be displayed if a search admin saves before testing a query in the preview sidebar.
Possibly have a confirmation modal appear with errors and reads "Errors in configuration", "There are errors in the configuration. (List errors). Do you wish to continue to save?"
Edit
View an error by using an incorrect type, example for "Aggregation Configuration" in the Settings tab:
{ "cardinality-test": {"cardinality": { "precision_threshold": "3000", "field": "assetTagNames.raw", "description": "Number of unique asset tag names" }}}
Attachments
Issue Links
- relates
-
LPS-128975 As a search admin, I want to validate malformed Elements JSON to prevent saving broken configuration
-
- Closed
-
-
LPS-134455 [Test] Functional Test: Validate malformed Blueprints JSON to prevent saving broken configuration
-
- Closed
-