Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48845

/pools/default/trustedCAs: Does not error if the ID does not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • ns_server
    • None
    • Untriaged
    • 1
    • No

    Description

      Problem
      While implementing MB-47172 I notice that an error is not produce from /pools/default/trustedCAs/[id] when the ID does not exists

      steps to reproduce

      1. Setup a cluster
      2. Try to delete the self-generated CA:

        curl  -uAdministrator:asdasd -XDELETE http://localhost:9000/pools/default/trustedCAs/1000 
        

      This makes it impossible to tell if a Delete was successful or not

      Expectation
      For an error to be returned .

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sumedh.basarkod Sumedh Basarkod (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty