Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-127227

As a search admin, I want to validate malformed Blueprints JSON to prevent saving broken configuration

Details

    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

          Activity

            People

              brooke.dalton Brooke Dalton
              petteri.karttunen Petteri Karttunen
              SE Support SE Support
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Development End Date:
                Development Start Date:

                Packages

                  Version Package
                  7.4.2 CE GA3 DXP 7,4
                  7.4.13 DXP GA1
                  Master