Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3179

Move the specific BucketExistsException before the generic CouchBaseException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.3.0
    • 3.2.8
    • library
    • None
    • 1

    Description

      PR fro Eugene Berger: https://github.com/couchbase/couchbase-net-client/pull/117

      Expected Behavior:
      When creating a bucket with a name that already exists, the BucketExistsException should be thrown.

      Actual Result:
      When creating a bucket with a name that already exists, the CouchBaseException is thrown.

      How to reproduce:
      Create a bucket with the same name twice:
      ICluster.IBucketManager.CreateBucketAsync(new BucketSettings

      { Name = "NICE_BUCKET"}

      )

      Attachments

        For Gerrit Dashboard: NCBC-3179
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty