Description
As an example, this method is being called:
await manager.CreateIndexAsync("beer-sample", "brewery_id", "brewery_id"); |
And this is the result:
Couchbase.Core.Exceptions.ParsingFailureException : syntax error - at - [3000]
|
at Couchbase.Query.QueryResultExtensions.ThrowExceptionOnError[T](IQueryResult`1 result, QueryErrorContext context) in C:\Users\bburnett\source\repos\couchbase-net-client\src\Couchbase\Query\QueryResultExtensions.cs:line 56
|
at Couchbase.Query.QueryClient.ExecuteQuery[T](QueryOptions options, ITypeSerializer serializer) in C:\Users\bburnett\source\repos\couchbase-net-client\src\Couchbase\Query\QueryClient.cs:line 204
|
at Couchbase.Query.QueryClient.QueryAsync[T](String statement, QueryOptions options) in C:\Users\bburnett\source\repos\couchbase-net-client\src\Couchbase\Query\QueryClient.cs:line 67
|
at Couchbase.Management.Query.QueryIndexManager.CreateIndexAsync(String bucketName, String indexName, IEnumerable`1 fields, CreateQueryIndexOptions options) in C:\Users\bburnett\source\repos\couchbase-net-client\src\Couchbase\Management\Query\QueryIndexManger.cs:line 67
|
at Couchbase.Linq.IntegrationTests.N1QlTestBase.EnsureIndexExists(IBucket bucket, String indexName, String[] fields) in C:\Users\bburnett\source\repos\Linq2Couchbase\Src\Couchbase.Linq.IntegrationTests\N1QLTestBase.cs:line 18
|
at Couchbase.Linq.IntegrationTests.QueryTests.JoinTests_InnerJoin_IndexJoin() in C:\Users\bburnett\source\repos\Linq2Couchbase\Src\Couchbase.Linq.IntegrationTests\QueryTests.cs:line 788
|
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
|
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaitable)
|
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
|
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
|
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
|
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
|
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
|
Likely cause: Not escaping the - character in the bucket name.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Status | New [ 10003 ] | Open [ 1 ] |
Fix Version/s | 3.0.4 [ 17014 ] | |
Fix Version/s | 3.0.3 [ 16913 ] |
Fix Version/s | 3.0.5 [ 17033 ] | |
Fix Version/s | 3.0.4 [ 17014 ] |
Fix Version/s | backlog-3.0 [ 16772 ] | |
Fix Version/s | 3.0.5 [ 17033 ] |
Assignee | Jeff Morris [ jmorris ] |
Fix Version/s | 3.1.0 [ 16741 ] | |
Fix Version/s | backlog-3.0 [ 16772 ] |
Fix Version/s | backlog-3.0 [ 16772 ] | |
Fix Version/s | 3.1.0 [ 16741 ] |
Fix Version/s | 3.2.1 [ 17902 ] | |
Fix Version/s | backlog-3.0 [ 16772 ] |
Assignee | Jeff Morris [ jmorris ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Fix Version/s | 3.2.2 [ 18043 ] | |
Fix Version/s | 3.2.1 [ 17902 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Fix Version/s | 3.2.3 [ 18050 ] | |
Fix Version/s | 3.2.2 [ 18043 ] |
Fix Version/s | 3.2.4 [ 18075 ] | |
Fix Version/s | 3.2.3 [ 18050 ] |
Fix Version/s | 3.2.5 [ 18102 ] | |
Fix Version/s | 3.2.4 [ 18075 ] |
Fix Version/s | 3.2.6 [ 18208 ] | |
Fix Version/s | 3.2.5 [ 18102 ] |
Fix Version/s | 3.2.7 [ 18230 ] | |
Fix Version/s | 3.2.6 [ 18208 ] |
Fix Version/s | 3.2.8 [ 18237 ] | |
Fix Version/s | 3.2.7 [ 18230 ] |
Fix Version/s | 3.2.9 [ 18306 ] | |
Fix Version/s | 3.2.8 [ 18237 ] |
Fix Version/s | 3.3.0 [ 18323 ] | |
Fix Version/s | 3.2.9 [ 18306 ] |
Resolution | Duplicate [ 3 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Workflow | Couchbase SDK Workflow [ 171261 ] | Couchbase SDK Workflow with Review [ 249006 ] |
Confirmed, passing "`beer-sample`" as the bucket name instead of "beer-sample" is a valid workaround.