Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-975

REST DELETE fails with HTTP result code 404 but it http-access it is 200

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: rest
    • Labels:

      Description

      A REST DELETE fails with HTTP result code 404, but it http-access it is HTTP 200 result code.

      curl --request DELETE \
      --user admin:secret12 \
      http://localhost:8080/users/user_X220?_prettyPrint=true

      {
      "code": 404,
      "reason": "Not Found",
      "message": "No Such Entry: Entry uid=user_X220,dc=europe,dc=com does not exist in the Directory Server"
      }

      http-access

      • 172.18.1.1 admin 07/Jun/2013:19:11:10 +0200 DELETE /users/user_X220?_prettyPrint=true HTTP/1.1 200 - 16883811 1

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              gary.williams Gary Williams
              QA Assignee:
              Gary Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: