Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13704

Return Correct Error code in ExpandComponent for Error cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Labels:
      None

      Description

      This is spin-off from SOLR-12393
      In some error cases, wrong error code is returned like

      • expand field is not specified
      • parsing expand query or expand filters fails

      In these cases, error code should 400 instead of 500

        Attachments

        1. SOLR-13704.patch
          10 kB
          Munendra S N
        2. SOLR-13704.patch
          10 kB
          Munendra S N

          Activity

            People

            • Assignee:
              munendrasn Munendra S N
              Reporter:
              munendrasn Munendra S N
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: