Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
https://docs.couchbase.com/sdk-api/couchbase-ruby-client/Couchbase/Management/CollectionManager.html#drop_scope-instance_method is documented to throw Error::ScopeNotFound
However
collections.drop_scope("nonexistentscope") |
gives
unable to drop the scope "nonexistentscope" on the bucket "travel-sample": bucket_not_found, context={"error":"11, bucket_not_found","client_context_id":"8bd843f6-1c6b-4234-795f-4ce1799d1677","method":"DELETE","path":"/pools/default/buckets/travel-sample/collections/nonexistentscope","http_status":404,"http_body":"{\\"errors\\":{\\"_\\":\\"Scope with name \\\\\\"nonexistentscope\\\\\\" is not found\\"}}","last_dispatched_to":"[::1]:8091","last_dispatched_from":"[::1]:55758"} (Couchbase::Error::BucketNotFound) |
Attachments
Issue Links
- blocks
-
DOC-7888 SDK Collections Management API
- Resolved