Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17701

DELETE REST API should not redirect to invalid URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF24, 7.10-HF01, 8.1
    • Component/s: Rest API

      Description

      When doing DELETE /nuxeo/api/v1/path/docpath Nuxeo responds with a redirect to /nuxeo/api/v1. However, if one does a GET on this redirect, the result is a 500 error.

      The redirect should not happen in the first place, and we should return a 204 instead.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m