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

    XMLWordPrintable

    Details

    • Bug
    • Status: Done
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • rest

      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

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

              Dates

              Created:
              Updated:
              Resolved: