Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0
-
Enterprise Edition 7.0.0 build 3739 (beta), Windows, latest .NET SDK from NuGet
-
1
Description
Summary: After creating scope with `CreateScopeAsync`, bucket.Scope(...) throws an exception when trying to get it.
Repro:
- Create Scope called "MyScope" with CreateScopeAsync
- Immediately call bucket.Scope("MyScope")
- (See attached source code and logs)
Expected:
Scope object ready to use. Or maybe there's a missing "WaitUntilScopeIsAvailable"?
Actual:
ScopeNotFoundException (see below).
Exception:
Unhandled exception. Couchbase.Management.Collections.ScopeNotFoundException: Scope with name MyScope not found
at Couchbase.Core.BucketBase.Scope(String scopeName)
at ForumQuestions.Program.Main(String[] args) in c:\zproj\ForumQuestions\ForumQuestions\Program.cs:line 40
at ForumQuestions.Program.<Main>(String[] args)