Uploaded image for project: 'mod-search'
  1. mod-search
  2. MSEARCH-163

Unhandled error when reindex has empty request body

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Falcon Sprint 121
    • Story Points:
      1
    • Development Team:
      Falcon

      Description

      Overview:

      The reindex request has changed and requires now its body to contain the property  recreateIndex.  When request is sent with no body - 500 status code is returned
      Steps to Reproduce:

      1. Send POST /search/index/inventory/reindex  without populating the request body

      Expected Results:

      Error handled gracefully
      Actual Results:

      {
      "errors": [

      { "message": "Content type '' not supported", "type": "HttpMediaTypeNotSupportedException", "code": "unknown_error" }

      ],
      "total_records": 1
      }
      Additional Information:
      URL:
      Interested parties:

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pavel_filippov Pavel Filippov
                Reporter:
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases